Compare commits
9 Commits
a3cfb7ade1
...
a415643923
Author | SHA1 | Date | |
---|---|---|---|
a415643923 | |||
b8c7514142 | |||
35bcd35ec9 | |||
ba81551a2c | |||
d8a205fbe5 | |||
ed4228326e | |||
2bb26bc63c | |||
5272365e5a | |||
5c899af26f |
@ -21,18 +21,11 @@ void FileScanWorker::run()
|
|||||||
{
|
{
|
||||||
sfr = saver.addFile(path);
|
sfr = saver.addFile(path);
|
||||||
}
|
}
|
||||||
catch(LooqsGeneralException &e)
|
|
||||||
{
|
|
||||||
Logger::error() << e.message << Qt::endl;
|
|
||||||
sfr = PROCESSFAIL;
|
|
||||||
}
|
|
||||||
|
|
||||||
catch(std::exception &e)
|
catch(std::exception &e)
|
||||||
{
|
{
|
||||||
Logger::error() << e.what() << Qt::endl;
|
Logger::error() << e.what();
|
||||||
sfr = PROCESSFAIL; // well...
|
sfr = PROCESSFAIL; // well...
|
||||||
}
|
}
|
||||||
|
|
||||||
emit result({path, sfr});
|
emit result({path, sfr});
|
||||||
if(stopToken->load(std::memory_order_relaxed)) // TODO: relaxed should suffice here, but recheck
|
if(stopToken->load(std::memory_order_relaxed)) // TODO: relaxed should suffice here, but recheck
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user