diff options
-rw-r--r-- | src/storage/StorageState.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/storage/StorageState.cxx b/src/storage/StorageState.cxx index 7c7d49295..f6d93c2f0 100644 --- a/src/storage/StorageState.cxx +++ b/src/storage/StorageState.cxx @@ -105,7 +105,10 @@ storage_state_restore(const char *line, TextFile &file, Instance &instance) ((SimpleDatabase *)db)->Mount(uri.c_str(), url.c_str()); } catch (...) { delete storage; - throw; + FormatError(std::current_exception(), + "Failed to restore mount to %s", + url.c_str()); + return true; } } |