diff options
author | Baptiste Jonglez <git@bitsofnetworks.org> | 2025-01-24 19:24:09 +0100 |
---|---|---|
committer | Baptiste Jonglez <git@bitsofnetworks.org> | 2025-02-07 00:18:01 +0100 |
commit | 06aa4b604fe0a9b5230bc0626d883e5b37953dec (patch) | |
tree | 0819ae79278a4b47cf6b178d6a666a3e1a3e66d6 /src/garage | |
parent | d3226bfa91d4500063c5c287c6256729dcbb3f88 (diff) | |
download | garage-06aa4b604fe0a9b5230bc0626d883e5b37953dec.tar.gz garage-06aa4b604fe0a9b5230bc0626d883e5b37953dec.zip |
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
Diffstat (limited to 'src/garage')
-rw-r--r-- | src/garage/admin/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/garage/admin/mod.rs b/src/garage/admin/mod.rs index ea414b56..176911fb 100644 --- a/src/garage/admin/mod.rs +++ b/src/garage/admin/mod.rs @@ -484,7 +484,7 @@ impl AdminRpcHandler { AdminRpc::MetaOperation(MetaOperation::Snapshot { all: false }), PRIO_NORMAL, ) - .await + .await? })) .await; |