Skip to content

Commit

Permalink
fix: better message for failed software update check (#4100)
Browse files Browse the repository at this point in the history
Description
---
Changed the previous failure message for software updates to a warning and made the message clearer.

Motivation and Context
---
The current error message had a typo and looks like a more serious failure, however this happens currently because the
DNS has not been set up for dibbler.

This PR makes it clear that this is just a failure to check for software updates.

How Has This Been Tested?
---
Simple message change
  • Loading branch information
sdbondi committed May 25, 2022
1 parent 331751d commit f33a503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base_layer/p2p/src/auto_update/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ impl SoftwareUpdaterService {
None
},
Err(err) => {
log::error!(target: LOG_TARGET, "Failed up fetch updates: {}", err);
log::warn!(target: LOG_TARGET, "Unable to check for software updates: {}", err);
None
},
}
Expand Down

0 comments on commit f33a503

Please sign in to comment.