Files
buzz/docs/adr
Tom Brow f578773f08 feat(mobile): keep the message of Dart programmer errors in reports
The diagnostic filter replaced every error's own text with fixed
wording, which left issue titles like "StateError: Error text removed
before sending." that say nothing about the fault.

Keep the text, minus URL query strings and fragments, for StateError,
TypeError, AssertionError and UnsupportedError (which includes
UnimplementedError). Developers write those messages ("Bad state: ref
used after dispose"), so they make issues readable. Every other error
type still has its text replaced. The accepted risk is a programmer-
error message that interpolates a value.

The SDK names a FlutterError "AssertionError" because it implements
one, so the filter checks the error itself rather than the reported
type name, and FlutterError text stays replaced.

Co-authored-by: studio <dc2fc481343672df31a689840c09299972e704dac592e0da6f18486646a7ee3e@localhost>
Signed-off-by: Tom Brow <tomb@block.xyz>
2026-11-20 11:29:06 -08:00
..