mirror of
https://codeberg.org/icewind/tasmota-backup.git
synced 2026-06-03 06:14:12 +02:00
better error reporting
This commit is contained in:
parent
91a329f3da
commit
87f644af37
1 changed files with 2 additions and 1 deletions
|
|
@ -46,7 +46,8 @@ async fn main() -> Result<()> {
|
|||
.with_context(|| format!("Timeout while downloading config for {device}"))
|
||||
.and_then(|res| res);
|
||||
if let Err(e) = result {
|
||||
error!(device = device, error = %e, "Failed to download config for {device}");
|
||||
let error = format!("{e:#}");
|
||||
error!(device, error, "Failed to download config for {device}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue