Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Think about better error categorization (error codes?) regarding whether a retry of failed request(s) may work #27

Open
derekpierre opened this issue May 19, 2023 · 1 comment

Comments

@derekpierre
Copy link
Member

From @piotr-roslaniec :

Just a question: If the decryption request fails, it must be because one of the participants failed. In that case, what do we do on the client side? Do we retry once and then rest our case or is there any other action we could take based on errors contents? At this point, the ritual is complete and validated.

From @derekpierre :

Good question. This is a possible improvement to our error handling. I think we've chatted previously (perhaps there is an issue somewhere) about possibly having integer error codes or something like that as part of the error information returned, then the errors can be contextualized appropriately eg. blip on connectivity vs something more problematic (wrong encrypting key used etc.). A blip in connectivity would signal a retry would possibly be successful.

That is something we can perhaps build upon.

@derekpierre
Copy link
Member Author

Moved to 8.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant