Skip to content

Commit

Permalink
Log the error when we don't know what it is.
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Feb 8, 2024
1 parent 88c8343 commit b96ba3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion librarian_server/api/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ def commit(
)
except Exception as e:
log.debug(
"Extremely bad internal server error. Likley a database communication issue."
"Extremely bad internal server error. Likley a database communication issue. "
f"Error: {e}"
)
response.status_code = status.HTTP_500_INTERNAL_SERVER_ERROR
return UploadFailedResponse(
Expand Down

0 comments on commit b96ba3c

Please sign in to comment.