webcrypto-local icon indicating copy to clipboard operation
webcrypto-local copied to clipboard

User interface needs to handle errors from the server

Open rmhrisk opened this issue 9 years ago • 0 comments

There will be cases where the server fails for unexpected reasons, right now we have such a case because a smart card is not supported, for example:

image

In this case, the UI made a call and the server complained:

image

The UI should catch such cases and display a generic error, something like:

An error occurred trying to access the remote cryptographic implementation.

Please try again.

We could maybe include the stack in a text box so people could copy it and paste it into a support forum.

rmhrisk avatar Mar 31 '17 23:03 rmhrisk