-
Notifications
You must be signed in to change notification settings - Fork 316
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
More detailed stack traces from threads #655
Comments
/cc @ktrzeciaknubisa ? |
Well, I thought, that var method = function() {
process.on('uncaughtException', function(ex) {
console.log('ex', ex);
});
var s = nonexistentFunc();
}
jxcore.tasks.addTask(method); I thing it's a need to add at least exception message (if not full stack trace) to process.on('restart') listener. Because once you'll subscribe for that event, you no longer receive the error, which normally would be: ReferenceError: nonexistentFunc is not defined |
Actually the |
jxcore 0.3.1.0 will be printing stack trace for the errors on global context. |
restarting thread 2 due to error TypeError: Cannot read property 'index' of undefined
How do I get errors happening inside threads to show full stack traces without having to try/catch everything.
The text was updated successfully, but these errors were encountered: