mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-23 18:37:19 +02:00
Remove commented out code
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
266031df81
commit
11015a22d2
@ -362,12 +362,5 @@ MessageLevel::Enum LogParser::guessLevel(const QString& line, MessageLevel::Enum
|
||||
if (line.contains("overwriting existing"))
|
||||
return MessageLevel::Fatal;
|
||||
|
||||
// NOTE: this diverges from the real regexp. no unicode, the first section is + instead of *
|
||||
// static const QRegularExpression JAVA_EXCEPTION(
|
||||
// R"(Exception in thread|...\d more$|(\s+at |Caused by:
|
||||
// )([a-zA-Z_$][a-zA-Z\d_$]*\.)+[a-zA-Z_$][a-zA-Z\d_$]*)|([a-zA-Z_$][a-zA-Z\d_$]*\.)+[a-zA-Z_$][a-zA-Z\d_$]*(Exception|Error|Throwable)");
|
||||
//
|
||||
// if (line.contains(JAVA_EXCEPTION))
|
||||
// return MessageLevel::Error;
|
||||
return MessageLevel::Info;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user