Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
How to catch the exception in callback
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
-
- Superfighter
- Posts: 97
- Joined: Thu Feb 07, 2019 4:36 am
How to catch the exception in callback
I want to log the stacktrace of the exception when thown in async callbacks. Is it possible to do that?
0 x
-
- Superfighter
- Posts: 97
- Joined: Thu Feb 07, 2019 4:36 am
I just tested again in the map editor and it prints the stacktrace now. I made this post because the last time the game crashed It just printed something like error in method ScriptCallbackEvent_Update without the stacktrace. I already wrapped the whole script in a try/catch though.
0 x