Skip to content

Commit

Permalink
Fix #1411 log custom template pages not found as debug not error
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson committed Sep 16, 2024
1 parent 81ef2ad commit f042454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subscribie/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def custom_page(path):
) as fh:
body = fh.read()
except FileNotFoundError as e:
log.error(f"Template not found FileNotFoundError. {e}")
log.debug(f"Template not found FileNotFoundError. {e}")
return "Template not found for this page.", 404

page_header = """
Expand Down

0 comments on commit f042454

Please sign in to comment.