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

Consider Custom Exception Handling #152

Open
glass-ships opened this issue May 1, 2023 · 0 comments
Open

Consider Custom Exception Handling #152

glass-ships opened this issue May 1, 2023 · 0 comments

Comments

@glass-ships
Copy link
Collaborator

Currently if a request doesn't return 200, you'll just get some unhelpful generic message like Internal Server Error.
And our current way to actually get that info is to

  • gcloud ssh to monarch-v3-prod-manager
  • maybe sudo su if you're not a docker user for some reason
  • docker service logs -f -n 100 monarch-v3_api

We can optionally add debug=True to the FastApi app definition in backend, but the output is pretty excessive.

It may be worth deciding what kind of info / how we want it presented on errored links

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