db-snapshot: Fix error reporting when using "garage meta snapshot --all"

Snapshot errors on remote nodes were not reported at all.

We now get proper error output such as:

    0fa0f35be69528ab  error: Internal error: DB error: LMDB: No space left on device (os error 28)
    88d92e2971d14bae  ok

Fix #920
This commit is contained in:
Baptiste Jonglez
2025-01-24 19:24:09 +01:00
parent d3226bfa91
commit 06aa4b604f
+1 -1
View File
@@ -484,7 +484,7 @@ impl AdminRpcHandler {
AdminRpc::MetaOperation(MetaOperation::Snapshot { all: false }),
PRIO_NORMAL,
)
.await
.await?
}))
.await;