mirror of
https://github.com/Llloooggg/Jarvis.git
synced 2026-03-06 03:56:23 +03:00
Вернул заглушку ошибок
This commit is contained in:
@@ -98,9 +98,9 @@ def workshop():
|
||||
user_scripts_list=user_scripts_list, tg_id=tg_id)
|
||||
|
||||
|
||||
# @app.errorhandler(Exception)
|
||||
# def universal_error(error):
|
||||
# return render_template('error.html'), 404
|
||||
@app.errorhandler(Exception)
|
||||
def universal_error(error):
|
||||
return render_template('error.html'), 404
|
||||
|
||||
|
||||
def string_check(string):
|
||||
|
||||
Reference in New Issue
Block a user