Walletwasabi: Question about throwing exceptions

Created on 8 Jul 2019  路  6Comments  路  Source: zkSNACKs/WalletWasabi

From a UX point of view wouldn't be better to simply display the message without the type of the exception. I don't think that most of the users understand or care about the type of the exception, they simply need to know what happend or what they need to do next.
E.g. we simply need the message here throw new SecurityException("Invalid password.", ex);.

questioresearch

All 6 comments

I agree with you, @yahiheb. If the exception contains a message then we should display that. This same thing was already discussed before and @nopara73 said that he likes the messages with the exception (https://github.com/zkSNACKs/WalletWasabi/issues/5750) however, I changed that on the Send tab translating those well-known (and expected) exceptions by more user-friendly messages and the PR was accepted.

As I remember we discussed this on the dev meeting. If an exception is shown to the user, then it means we didn't translate that exception properly to the user in the appropriate context. Also that it makes more sense to work on exception translation after our notifications are ready.

In light of the new notifications, I'll reopen the issue as this should be fixed in the new UI

Fixed.

This is not fixed.

Correct.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yahiheb picture yahiheb  路  3Comments

nopara73 picture nopara73  路  3Comments

kenny47 picture kenny47  路  3Comments

nopara73 picture nopara73  路  3Comments

gabridome picture gabridome  路  3Comments