mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-03 18:44:46 +00:00
Merge origin/master
This commit is contained in:
@@ -2245,6 +2245,14 @@ public class Main {
|
||||
}
|
||||
}
|
||||
|
||||
Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
|
||||
|
||||
@Override
|
||||
public void uncaughtException(Thread t, Throwable e) {
|
||||
logger.log(Level.SEVERE, "Uncaught exception in thread: " + t.getName(), e);
|
||||
}
|
||||
});
|
||||
|
||||
Formatter formatterTxt = new LogFormatter();
|
||||
if (fileTxt != null) {
|
||||
fileTxt.setFormatter(formatterTxt);
|
||||
|
||||
Reference in New Issue
Block a user