Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
chore: include error in log message (#2552)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Aug 12, 2023
1 parent 9a92217 commit 980c7c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ethers-solc/src/resolver/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -818,8 +818,8 @@ impl VersionedSources {
);
} else {
tracing::trace!("verifying solc checksum for {}", solc.solc.display());
if solc.verify_checksum().is_err() {
tracing::trace!("corrupted solc version, redownloading \"{}\"", version);
if let Err(err) = solc.verify_checksum() {
tracing::trace!(?err, "corrupted solc version, redownloading \"{}\"", version);
Solc::blocking_install(version.as_ref())?;
tracing::trace!("reinstalled solc: \"{}\"", version);
}
Expand Down

0 comments on commit 980c7c8

Please sign in to comment.