stellar / freighter

Stellar browser extension
81 stars 25 forks source link

SPIKE: better errors in Freighter client #1633

Open aristidesstaffieri opened 2 weeks ago

aristidesstaffieri commented 2 weeks ago

We handle displaying errors in a few ways -

  1. Show the raw error and/or stack trace to the user.
  2. Show a generalized error.
  3. Show a user friendly error message mapped to error codes or types.

Can we improve the UX here? Can we stop showing raw rpc errors and/or stack traces to users? Should we implement a client only tracing system, where we can provide users trace IDs in their error messages that they can use to communicate their issues. We can then use the IDs to correlate the report to a log.