ooni-probe-cli/internal/engine/experiment/urlgetter
Simone Basso 99ec7ffca9
fix: ensure experiments return nil when we want to submit (#654)
Since https://github.com/ooni/probe-cli/pull/527, if an experiment
returns an error, the corresponding measurement is not submitted since
the semantics of returning an error is that something fundamental
went wrong (e.g., we could not parse the input URL).

This diff ensures that all experiments only return and error when
something fundamental was wrong and return nil otherwise.

Reference issue: https://github.com/ooni/probe/issues/1808.
2022-01-07 13:17:20 +01:00
..
.gitignore chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
configurer_test.go refactor(resolver): add CloseIdleConnections to SerialResolver (#502) 2021-09-09 20:58:04 +02:00
configurer.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
getter_integration_test.go refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
getter_test.go feat: tutorial on how to write the torsf experiment (#390) 2021-06-22 00:12:03 +02:00
getter.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
multi_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
multi.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
runner_test.go refactor: flatten and separate (#353) 2021-06-04 10:34:18 +02:00
runner.go refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
urlgetter_test.go fix: ensure experiments return nil when we want to submit (#654) 2022-01-07 13:17:20 +01:00
urlgetter.go fix: ensure experiments return nil when we want to submit (#654) 2022-01-07 13:17:20 +01:00