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

Handle errors during requests #90

Open
Kaptard opened this issue Nov 6, 2018 · 1 comment
Open

Handle errors during requests #90

Kaptard opened this issue Nov 6, 2018 · 1 comment

Comments

@Kaptard
Copy link
Member

Kaptard commented Nov 6, 2018

Right now, if an error occurs on either the API or Core node, it simply doesn't respond. Instead, we should put a try/catch around it on both the API and Core node, and return the error in plaintext in development, or encrypted in production.

@Kaptard
Copy link
Member Author

Kaptard commented Jan 22, 2020

Updated a while ago to save the errors in the API's database (cubic-errors collection). Still requires sending the errors in the formats mentioned.

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

No branches or pull requests

1 participant