Flush logs before printing crash report

This commit is contained in:
JeremyStar™ 2024-08-20 21:45:41 +02:00
parent 701f316950
commit ae790dbd18
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -159,6 +159,7 @@ Dear developer: FIX YOUR GODDAMN SHIT! Please check if your code or 3rd party su
base = Logger.getLoggerImplementation().postPlaceholder(LogLevel.CRASH, issuerClass, issuerOrigin, issuerMetadata, message, base);
// Print log message by invoking LoggerImpl#print
Logger.flushLogMessages();
Logger.getLoggerImplementation().print(LogLevel.CRASH, issuerClass, issuerOrigin, issuerMetadata, message, base);
// Emit event