noosphere icon indicating copy to clipboard operation
noosphere copied to clipboard

Give better, human-readable error text when gateway identity fails cryptographic scrutiny

Open justinabrahms opened this issue 2 years ago • 1 comments

If your gateway somehow loses its keys, orb returns 'Error: Wrong Audience'. That's not quite enough to go on to understand what went wrong and what I might be able to do about it. We should make that error message more user-friendly.

justinabrahms avatar Aug 10 '23 18:08 justinabrahms

The offending error text is in here: https://github.com/subconsciousnetwork/noosphere/blob/d33492a875af0fa85fb6ef0e1440c335e5ee7c60/rust/noosphere-api/src/data.rs#L232-L234

The message could definitely stand to be improved.

cdata avatar Aug 10 '23 18:08 cdata