mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 20:40:00 +00:00
commit
efb44724e1
|
@ -37,7 +37,7 @@ if not app.config['DEBUG']:
|
|||
def internal_error(exception):
|
||||
app.logger.error(exception)
|
||||
flask.flash(flask.Markup(
|
||||
'<strong>An error occured!</strong> Debugging information has been logged.'), 'danger')
|
||||
'<strong>An error occurred!</strong> Debug information has been logged.'), 'danger')
|
||||
return flask.redirect('/')
|
||||
|
||||
# Get git commit hash
|
||||
|
|
Loading…
Reference in a new issue