Skip to content

Commit c5bbd7b

Browse files
committed
Error Codes Part 1
1 parent b1aa626 commit c5bbd7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/Main.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ class Main extends Sprite
564564
}
565565

566566
errMsg += "\nUncaught Error: " + e.error;
567+
errMsg += "\nError Code: " + new DetailedException(e).errorCode;
567568
// remove if you're modding and want the crash log message to contain the link
568569
// please remember to actually modify the link for the github page to report the issues to.
569570
errMsg += "\nPlease report this error to the GitHub page: https://github.com/Z11Gaming/Mixtape-Engine-Rework";

0 commit comments

Comments
 (0)