Skip to content

Commit

Permalink
add comment about missing / wrong rustc version
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Oct 23, 2024
1 parent 9b2d513 commit b179d68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/db/add_package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,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
Expand Down

0 comments on commit b179d68

Please sign in to comment.