storage/State: make mount errors non-fatal
Fixes crash bug caused by commit
64d141f71e
This commit is contained in:
parent
a20b326807
commit
08db28469d
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue