Skip to content
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

Error in one script cancels event for all following scripts #6

Open
JayFoxRox opened this issue Jan 21, 2019 · 0 comments
Open

Error in one script cancels event for all following scripts #6

JayFoxRox opened this issue Jan 21, 2019 · 0 comments

Comments

@JayFoxRox
Copy link
Collaborator

Caused by the throw:

https://github.com/JayFoxRox/modular-vc-mp-server/blob/bced674ec9ad1f12999c478db488ced7e60a1e1c/scripts/scripts.nut#L59-L63

The throw was added because I didn't have my own error-printer (the existing lines were a concept for it, but I didn't feel like spending time to polish it).

Ideally we'd just make our own printer better, so we can avoid the throw. Then the event would continue even after a script couldn't handle it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant