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

Fine tuning of error_handling debug tools #1142

Merged
merged 2 commits into from
Jan 16, 2021

Conversation

hoodmane
Copy link
Member

I fixed a typo in EM_JS_REF and EM_JS_NUM: namely LOG_EM_JS_ERROR(func_name, err); ==> LOG_EM_JS_ERROR(func_name, e);

Also added an extra function log_error_obj which takes a JsRef and does console.error(jsobj), useful for debugging.

@hoodmane hoodmane force-pushed the more-error-handling-fixes branch from 6904943 to 34853b4 Compare January 16, 2021 01:17
@dalcde dalcde merged commit 603d223 into pyodide:master Jan 16, 2021
@hoodmane hoodmane deleted the more-error-handling-fixes branch January 16, 2021 02:40
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

Successfully merging this pull request may close these issues.

2 participants