Improvements

Catch for the 'LogParserException' to avoid crashes when thrown
This commit is contained in:
Valentino Orlandi 2022-10-14 22:54:35 +02:00
parent b3291f7fc2
commit 842eae70ae
Signed by: elB4RTO
GPG Key ID: 1719E976DB2D4E71
1 changed files with 5 additions and 2 deletions

View File

@ -791,10 +791,13 @@ void Craplog::run()
}
this->used_files_hashes.clear();
// only catch generic, leave others un-catched
} catch ( GenericException& e ) {
DialogSec::errGeneric( e.what() );
this->proceed = false;;
this->proceed = false;
} catch ( LogParserException& e ) {
DialogSec::errFailedParsingLogs( e.what() );
this->proceed = false;
}
this->stopWorking();