output_configuration: Better log errors
This commit is contained in:
parent
7f69244e07
commit
ff22b98ec7
1 changed files with 2 additions and 2 deletions
|
|
@ -143,7 +143,7 @@ impl State {
|
|||
&self.common.clock,
|
||||
);
|
||||
if let Err(err) = res {
|
||||
warn!(?err, "Failed to apply config. Resetting");
|
||||
warn!("Failed to apply config. Resetting: {:?}", err);
|
||||
for (output, backup) in backups {
|
||||
{
|
||||
let mut current_config = output
|
||||
|
|
@ -164,7 +164,7 @@ impl State {
|
|||
self.common.startup_done.clone(),
|
||||
&self.common.clock,
|
||||
) {
|
||||
error!(?err, "Failed to reset output config.");
|
||||
error!("Failed to reset output config: {:?}", err);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue