This commit is contained in:
Anuken
2020-11-11 09:28:17 -05:00
parent 887ce28fc2
commit 12843af977
7 changed files with 5 additions and 15 deletions

View File

@@ -33,7 +33,7 @@ public class ServerLauncher implements ApplicationListener{
String result = "[" + dateTime.format(LocalDateTime.now()) + "] " + format(tags[level1.ordinal()] + " " + text + "&fr");
System.out.println(result);
};
new HeadlessApplication(new ServerLauncher(), null, throwable -> CrashSender.send(throwable, f -> {}));
new HeadlessApplication(new ServerLauncher(), throwable -> CrashSender.send(throwable, f -> {}));
}catch(Throwable t){
CrashSender.send(t, f -> {});
}