mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-23 01:39:59 +00:00
commit
efb44724e1
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue