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 591bd808ec
commit bb247e6a72

View file

@ -482,7 +482,7 @@ impl AdminRpcHandler {
AdminRpc::MetaOperation(MetaOperation::Snapshot { all: false }),
PRIO_NORMAL,
)
.await
.await?
}))
.await;