Skip to content

Commit

Permalink
lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed Dec 12, 2024
1 parent 7706775 commit 4762027
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pay-api/src/pay_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def setup_403_logging(app):
"""Log setup for forbidden."""
# This is intended for DEV and TEST.
if app.config.get("ENABLE_403_LOGGING") is True:

@app.errorhandler(403)
def handle_403_error(error):
user_context = _get_context()
Expand Down

0 comments on commit 4762027

Please sign in to comment.