noosphere
noosphere copied to clipboard
Give better, human-readable error text when gateway identity fails cryptographic scrutiny
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.
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.