gitpod
gitpod copied to clipboard
[analytics] add error field to feedback event
Description
This adds the error message/object along with the feedback tracking event.
| With error | Without error |
|---|---|
![]() |
![]() |
Related Issue(s)
Fixes #10402
How to test
- Trigger an error when creating a workspace (steps here).
- Visit Segment and filter for
feedback_submitted. - See the
error_renderedbody. - Send a non-error feedback and see no
error_renderedfield on Segment.
Release Notes
NONE
- [x] /werft with-preview
- [x] /werft analytics=segment|TEZnsG4QbLSxLfHfNieLYGF4cDwyFWoe
/werft run
:+1: started the job as gitpod-build-laushinka-send-error-message-with-10402.1
(with .werft/ from main)
I think we should try to include the actual error text in the feedback report
Information about the context would be good too e.g. to tell the difference between 404 errors in say a. starting a workspace from a repo URL context vs. b. starting a workspace from a snapshot URL
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
started the job as gitpod-build-laushinka-send-error-message-with-10402.4 because the annotations in the pull request description changed
(with .werft/ from main)
@laushinka I rebased and updated the werft flags in the description
Testing error reporting on workspace start with private repo
![]() |
![]() |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This implementation works, but it is incomplete because the error message text is not included with the feedback. We either have to grab an image, or (better), extract the error message text as a string.
Currently, error handling implementations e.g. in CreateWorkspace.tsx render errors directly to HTML, instead of starting with plaintext first, and then rendering it.
Closing because too stale. Picked up here.



