[tor-commits] [ooni-probe/master] Refactor error handling to avoid inconsistencies