Fix reporting of jaeger traces when diff does not match.

The early exit was causing some traces to not be reported.
This commit is contained in:
Tom Alexander
2023-08-14 17:12:01 -04:00
parent b93a12c32c
commit 2bcc3f0599

View File

@@ -28,12 +28,13 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
fn main_body() -> Result<(), Box<dyn std::error::Error>> {
init_telemetry()?;
run_compare(
let compare_result = run_compare(
std::env::args()
.nth(1)
.expect("Pass a single file into this script."),
)?;
);
shutdown_telemetry()?;
compare_result?;
Ok(())
}