Skip to content

Commit b179d68

Browse files
committed
add comment about missing / wrong rustc version
1 parent 9b2d513 commit b179d68

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
@@ -251,6 +251,9 @@ pub(crate) async fn finish_build(
251251
let rustc_date = match parse_rustc_date(rustc_version) {
252252
Ok(date) => Some(date),
253253
Err(err) => {
254+
// in the database we see cases where the rustc version is missing
255+
// in the builds-table. In this case & if we can't parse the version
256+
// we just want to log an error, but still finish the build.
254257
error!(
255258
"Failed to parse date from rustc version \"{}\": {:?}",
256259
rustc_version, err

0 commit comments

Comments
 (0)