Main, ...: catch any exception, not just std::runtime_error
This commit is contained in:
@@ -68,7 +68,7 @@ handle_listfiles_storage(Response &r, StorageDirectoryReader &reader)
|
||||
StorageFileInfo info;
|
||||
try {
|
||||
info = reader.GetInfo(false);
|
||||
} catch (const std::runtime_error &) {
|
||||
} catch (...) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user