shared: FileScanWorker: Catch correct exception type
Tá an tiomantas seo le fáil i:
tuismitheoir
4d0d9ba9c6
tiomantas
c99827e854
@ -20,7 +20,7 @@ void FileScanWorker::run()
|
||||
{
|
||||
sfr = saver.addFile(path);
|
||||
}
|
||||
catch(std::runtime_error &e)
|
||||
catch(std::exception &e)
|
||||
{
|
||||
Logger::error() << e.what();
|
||||
sfr = PROCESSFAIL; // well...
|
||||
|
Á lódáil...
x
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir