1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 23:50:00 +00:00
This commit is contained in:
katnyaa 2017-05-22 13:02:02 +00:00 committed by GitHub
parent 29e878a1ec
commit 1016d5be02

View file

@ -37,7 +37,7 @@ if not app.config['DEBUG']:
def internal_error(exception): def internal_error(exception):
app.logger.error(exception) app.logger.error(exception)
flask.flash(flask.Markup( 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('/') return flask.redirect('/')
# Get git commit hash # Get git commit hash