aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/projectstore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-12-11 00:01:11 +0100
committerGitHub Enterprise <[email protected]>2025-12-11 00:01:11 +0100
commit5219d2384e7a018d39211bb93651b2faa8d30f18 (patch)
tree183320e772ac43ac1a8763e81454ac32eefcd1fe /src/zenstore/projectstore.cpp
parentfix zero length stream decompress (#685) (diff)
downloadzen-5219d2384e7a018d39211bb93651b2faa8d30f18.tar.xz
zen-5219d2384e7a018d39211bb93651b2faa8d30f18.zip
catch all exceptions during projectstore scrub (#686)
Diffstat (limited to 'src/zenstore/projectstore.cpp')
-rw-r--r--src/zenstore/projectstore.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zenstore/projectstore.cpp b/src/zenstore/projectstore.cpp
index 2f97de5de..657d2ca64 100644
--- a/src/zenstore/projectstore.cpp
+++ b/src/zenstore/projectstore.cpp
@@ -3974,6 +3974,12 @@ ProjectStore::Project::Scrub(ScrubContext& Ctx)
Abort = true;
Work.Wait();
}
+ catch (const std::exception& Ex)
+ {
+ ZEN_WARN("Scrubbing failed: '{}'", Ex.what());
+ Abort = true;
+ Work.Wait();
+ }
}
uint64_t