Skip to content

Commit e2bb357

Browse files
committed
add comment about missing / wrong rustc version
1 parent d6e3a42 commit e2bb357

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/db/add_package.rs

+3
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,9 @@ pub(crate) async fn finish_build(
247247
let rustc_date = match parse_rustc_date(rustc_version) {
248248
Ok(date) => Some(date),
249249
Err(err) => {
250+
// in the database we see cases where the rustc version is missing
251+
// in the builds-table. In this case & if we can't parse the version
252+
// we just want to log an error, but still finish the build.
250253
error!(
251254
"Failed to parse date from rustc version \"{}\": {:?}",
252255
rustc_version, err

0 commit comments

Comments
 (0)