-
Notifications
You must be signed in to change notification settings - Fork 60
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
Add ability to get stack trace for error messages in the UI #4184
Conversation
notably i posted an email address of jbrowse2dev@gmail.com for this also. we are wired into this email for office hours requests, so I thought it might work for bug reports also |
I also considered automatically getting the jbrowse version in this dialog but we do not, in general, have the jbrowse version available since no model object is available. we could a) add model objects to the error message or b) add a hacky reference to global JBrowseSession for the general case that most jbrowse-web instaces have |
motivated by the 'persistent problem' that we have to request users go into their devtools to get the source trace, which is hard to instruct users how to do. this hopefully can make it a bit easier |
This is nice! One additional possible feature, it could use URL params to automatically put the stack trace in the issue body or email body. |
great idea...added here d6d63ca |
This allows users to get the stack trace for various error messages in the user interface without having to go to their browser devtools
Tested in Safari-alike (GNOME Web), Firefox, and Chrome in both dev mode and production build
example screenshot
inspired by code here https://stackoverflow.com/questions/75400967/get-stack-trace-as-a-string-when-using-source-map