-
Notifications
You must be signed in to change notification settings - Fork 9
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
Errors not being displayed. #3
Comments
Okay, so it looks like the problem is that if a runtime error happens it's an instance of Error, which has non-enumerable properties. i.e. Using Object.keys() returns an empty array whereas Object.getOwnPropertyNames() returns an actually useful list. |
Arguably though this should just be rendering the stack trace (which includes the error message) rather than displaying a comma-separated list of all the attributes. |
Workaround for now:
|
I'm using this as described in the README but errors are not being displayed. My code:
The console.log is printing out the errors, but beautify-benchmark never does.
The text was updated successfully, but these errors were encountered: