Skip to content

Commit

Permalink
views.py: Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed (ODSC) committed Oct 22, 2024
1 parent 6c39872 commit 35d6ea0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libcoveweb2/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ def view_data_has_error(self, request, supplied_data):
"sub_title": _("Sorry, there was an error."),
"link": "index",
"link_text": _("Go to Home page"),
"msg": _("There was an error."),
#"msg": _("There was an error."),
"msg": f"There was an error. {supplied_data.error}",
},
status=500,
)
Expand Down

0 comments on commit 35d6ea0

Please sign in to comment.