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

Internal server errors aren't reported in the logs #1351

Open
rpatterson opened this issue Jan 16, 2024 · 0 comments
Open

Internal server errors aren't reported in the logs #1351

rpatterson opened this issue Jan 16, 2024 · 0 comments
Labels
api Backend API backend Backend bug Something isn't working logs

Comments

@rpatterson
Copy link

Version

  • Version: v1.35.0-rc1
  • Build date: 2024-01-16T15:35:47.729Z
  • Application: /usr/local/bin/autobrr
  • Config path: /config
  • Database: sqlite

Describe the bug
Nothing is logged when something causes 500 Internal Server Error responses from the API.

To Reproduce
Steps to reproduce the behavior:

  1. Start with something that causes 500 Internal Server Error responses from the API, such as a corrupted SQLite DB.
  2. Visit a view that triggers the error, such as the "Dashboard".
  3. Note the 500 Internal Server Error responses from the API in the browser developer tools.
  4. Note that nothing is logged that corresponds to those errors.

Expected behavior
Unhandled API errors should be logged so that administrators and debug and resolve any such errors.

Desktop (please complete the following information):

# docker compose config --resolve-image-digests autobrr | grep '^ *image:'
   image: ghcr.io/autobrr/autobrr:latest@sha256:bbe518ae753ed6603a9abd8d009e811164c56d7d9ffeba45f366bf454bfd3ac3
@rpatterson rpatterson added the bug Something isn't working label Jan 16, 2024
@zze0s zze0s added backend Backend api Backend API logs labels Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Backend API backend Backend bug Something isn't working logs
Projects
None yet
Development

No branches or pull requests

2 participants