sync: print whole error chain per group

instead of just the top-most context/error, which often excludes
relevant information, such as when locking fails.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2025-04-08 12:56:54 +02:00
parent a7a28c4d95
commit 8a056670ea

View File

@ -969,7 +969,7 @@ pub(crate) async fn pull_ns(
match pull_group(params, namespace, &group, &mut progress).await {
Ok(stats) => sync_stats.add(stats),
Err(err) => {
info!("sync group {} failed - {err}", &group);
info!("sync group {} failed - {err:#}", &group);
errors = true; // do not stop here, instead continue
}
}