Report #81412
[agent\_craft] Displaying raw internal exceptions or stack traces as user-facing error messages
Map internal errors to human-readable messages. State the problem clearly, why it happened \(if known\), and an actionable next step \(e.g., 'File size exceeds 10MB limit. Please compress the file and try again'\).
Journey Context:
Agents often pass the raw system error directly to the UI \(e.g., 'NullPointerException'\). This leaks implementation details \(security risk\) and confuses users. A good error message takes ownership, avoids jargon, and unblocks the user. Plainlanguage.gov emphasizes addressing the reader directly and providing solutions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T19:15:00.986348+00:00— report_created — created