freighter icon indicating copy to clipboard operation
freighter copied to clipboard

SPIKE: better errors in Freighter client

Open aristidesstaffieri opened this issue 1 year ago • 1 comments

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.

aristidesstaffieri avatar Nov 08 '24 20:11 aristidesstaffieri

@aristidesstaffieri I recognize it might be difficult but if possible, can we get screenshots of the 3 error cases you described here?

I definitely don't think we should ever provide stack traces or raw response bodies from upstream systems.

JakeUrban avatar Feb 18 '25 17:02 JakeUrban

@aristidesstaffieri is this issue redundant now that you've created tasks for the tech debt epic?

JakeUrban avatar Apr 21 '25 16:04 JakeUrban

Yes that makes this a duplicate, closing in favor of that epic.

aristidesstaffieri avatar Apr 21 '25 16:04 aristidesstaffieri