-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: onScriptError #1
Comments
Honestly I'd just do a single handler thing. Otherwise I need to add tracking, and cleanup, and the ability to remove handlers and handler IDs and ugh. Returns array callstack |
Hi!
Since you've asked, I'm making an issue.
Suggestion: add an SQF command:
ADE_onScriptError code
, which would call my code passed to it on a script error.It should pass information about the script error to the callback, such as: file, line number, error text, and the callstack itself in string or array form.
Further things to think of: should it be stackable? What if we register the same code variable multiple times?
The text was updated successfully, but these errors were encountered: