mirror of
https://github.com/simon987/nyaa.git
synced 2025-04-21 03:06:43 +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…
x
Reference in New Issue
Block a user