Improvements
Catch for the 'LogParserException' to avoid crashes when thrown
This commit is contained in:
parent
b3291f7fc2
commit
842eae70ae
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue