-
Notifications
You must be signed in to change notification settings - Fork 162
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
[Electron] Allow users to submit error reports #1633
Conversation
if (submitting.value) return | ||
submitting.value = true | ||
try { | ||
await electronAPI().sendErrorToSentry(error.exception_message, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@robinjhuang PTAL. I am not very sure if this is the correct format we are expecting in the Sentry setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slack chat from @robinjhuang
Can we send the logs and system info in the report as well? Everything except the workflow for now would be good i think
Remove unused import
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we send the entire report except workflow? Having the logs and system info would be helpful.
Offline discussion: we go with basic stacktrace now, and potentially strip out the user base directory that might potentially contain user name. (Happen in electron side) |
Adds a Send Report button to the execution error dialog to allow users to report errors.
This submits the error message, stacktrace and node type.
We can extend this in future to allow opting in to include more details if they are found to be useful for diagnosing issues (e.g. logs, installed nodes, version, etc)