mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
crash send error code
This commit is contained in:
parent
c7cfb290eb
commit
472d408bbc
1 changed files with 2 additions and 2 deletions
|
|
@ -148,11 +148,11 @@ public class CrashSender{
|
|||
httpPost(Vars.crashReportURL, value.toJson(OutputType.json), r -> {
|
||||
Log.info("Crash sent successfully.");
|
||||
sent[0] = true;
|
||||
System.exit(0);
|
||||
System.exit(1);
|
||||
}, t -> {
|
||||
t.printStackTrace();
|
||||
sent[0] = true;
|
||||
System.exit(1);
|
||||
System.exit(-1);
|
||||
});
|
||||
|
||||
//sleep until report is sent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue