diff --git a/librarian_server/api/upload.py b/librarian_server/api/upload.py index 81bdd97..a7a5aa3 100644 --- a/librarian_server/api/upload.py +++ b/librarian_server/api/upload.py @@ -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(