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

Error handling #14

Open
Samasaur1 opened this issue Apr 5, 2023 · 0 comments
Open

Error handling #14

Samasaur1 opened this issue Apr 5, 2023 · 0 comments

Comments

@Samasaur1
Copy link
Member

We essentially need to find (almost) every time that there's an unwrap() call in our code, and actually handle errors. If the server panics handling any request, the lock on the repositories is "poisoned" and so no other API calls will work. If we handle the errors, however, we can return an error code and release the lock, so that future API calls can still work without restarting the server

@Samasaur1 Samasaur1 moved this to Todo in Remote Text Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant