shared: FileScanWorker: Catch correct exception type

Esse commit está contido em:
Albert S. 2022-04-22 09:07:10 +02:00
commit c99827e854

Ver arquivo

@ -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...