Skip to content

[Property Editor] Include error code in exceptions sent to GA#9209

Merged
elliette merged 2 commits intoflutter:masterfrom
elliette:property-edit-error-code
May 27, 2025
Merged

[Property Editor] Include error code in exceptions sent to GA#9209
elliette merged 2 commits intoflutter:masterfrom
elliette:property-edit-error-code

Conversation

@elliette
Copy link
Copy Markdown
Member

Our current property edit exceptions in GA are not very helpful for figuring out why an edit did not succeed:

property-editor Encountered unknown error. (Property: textDirection)

This adds the error code so that we can figure out why these edits didn't succeed. I am planning on doing a DevTools CP with these changes.

@elliette elliette requested a review from a team as a code owner May 27, 2025 17:49
@elliette elliette requested review from DanTup, bkonyi and kenzieschmoll and removed request for a team and bkonyi May 27, 2025 17:49
Copy link
Copy Markdown
Member

@kenzieschmoll kenzieschmoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to Danny's question but LGTM

@elliette
Copy link
Copy Markdown
Member Author

Note: it turns out we have more info about why an edit failed than I initially thought. I still think this is a useful change to make querying the data easier, but I don't think it justifies a CP anymore.

@elliette elliette merged commit 24f43f1 into flutter:master May 27, 2025
41 checks passed
hrajwade96 pushed a commit to hrajwade96/devtools that referenced this pull request Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants