Main, ...: catch any exception, not just std::runtime_error
This commit is contained in:
@@ -119,9 +119,9 @@ UpdateWalk::UpdateContainerFile(Directory &directory,
|
||||
|
||||
modified = true;
|
||||
}
|
||||
} catch (const std::runtime_error &e) {
|
||||
} catch (...) {
|
||||
LogError(std::current_exception());
|
||||
editor.LockDeleteDirectory(contdir);
|
||||
LogError(e);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user