π prevent raw error message exposure in UI - #17
Conversation
Co-authored-by: esenmx <43244505+esenmx@users.noreply.github.com>
|
π Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a π emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Co-authored-by: esenmx <43244505+esenmx@users.noreply.github.com>
|
Thanks, but closing this one. The principle is sound in general, but it does not apply here: the package itself (lib/) never renders errors, and the only place |
Understood. Thank you for the detailed context and explanation. Acknowledging that this pull request is being closed as the simulated error message in the example app is intentional for demo purposes. |
π― What: Replace raw exception message strings displayed in
SnackBarwith a generic, user-friendly error message.π‘οΈ Solution: Replaced
Text('Failed: $error')with a static user-friendly message (Text('An unexpected error occurred. Please try again.')) inexample/lib/main.dartand updatedREADME.mdand tests accordingly.PR created automatically by Jules for task 17720049058267261281 started by @esenmx