From 7a258d648b4c674ce3d67494eab57d2f75ede043 Mon Sep 17 00:00:00 2001 From: Aria Shrimpton Date: Mon, 4 Mar 2024 13:13:26 +0000 Subject: check for errors when fetching logs --- analysis/Justfile | 1 + src/crates/primrose/src/library_specs.rs | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/analysis/Justfile b/analysis/Justfile index e6762d3..a61f5bf 100644 --- a/analysis/Justfile +++ b/analysis/Justfile @@ -7,6 +7,7 @@ download-log job: mkdir -p {{justfile_directory()}}/{{job}} curl https://git.tardisproject.uk/tcmal/dissertation/-/jobs/{{job}}/raw > {{justfile_directory()}}/{{job}}/log ./split-log.py {{justfile_directory()}}/{{job}}/log + grep -H -i 'error' {{justfile_directory()}}/{{job}}/sections/ download-criterion job: rsync -ravP candelabra:/opt/candelabra/src/tests/target/criterion/ {{justfile_directory()}}/{{job}}/criterion diff --git a/src/crates/primrose/src/library_specs.rs b/src/crates/primrose/src/library_specs.rs index 35e3705..3552d36 100644 --- a/src/crates/primrose/src/library_specs.rs +++ b/src/crates/primrose/src/library_specs.rs @@ -67,10 +67,7 @@ impl LibSpec { lib_specs.insert(spec.struct_name.clone(), spec); } Err(e) => { - debug!( - "Failed to process library module {}: {}. Continuing anyway.", - &path, e - ); + debug!("Ignoring invalid library module {}", &path); } } } -- cgit v1.2.3