From e2bb3577eceb7206b43d4dc4d84ae6219686f326 Mon Sep 17 00:00:00 2001 From: Denis Cornehl Date: Wed, 23 Oct 2024 21:48:59 +0200 Subject: [PATCH] add comment about missing / wrong rustc version --- src/db/add_package.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/db/add_package.rs b/src/db/add_package.rs index 4a54b0d21..01df22f0e 100644 --- a/src/db/add_package.rs +++ b/src/db/add_package.rs @@ -247,6 +247,9 @@ pub(crate) async fn finish_build( let rustc_date = match parse_rustc_date(rustc_version) { Ok(date) => Some(date), Err(err) => { + // in the database we see cases where the rustc version is missing + // in the builds-table. In this case & if we can't parse the version + // we just want to log an error, but still finish the build. error!( "Failed to parse date from rustc version \"{}\": {:?}", rustc_version, err