Skip to content

Commit

Permalink
useful information for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
mixmixmix committed Nov 12, 2024
1 parent 2016189 commit 73581fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions giftless/error_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def error_as_json(cls, ex):
"""
code = ex.code if hasattr(ex, 'code') else 500
data = {"message": str(ex)}
logging.debug(f"Returning error response: {data} with status {code}")

return output_git_lfs_json(data=data, code=code)

Expand Down

0 comments on commit 73581fc

Please sign in to comment.