diff --git a/run.py b/run.py index 130ee5a..a999703 100644 --- a/run.py +++ b/run.py @@ -109,12 +109,13 @@ async def handle_litecord_err(err): except IndexError: ejson = {} - return jsonify({**{ + return jsonify({ 'error': True, # 'code': err.code, 'status': err.status_code, 'message': err.message, - }, **ejson}), err.status_code + **ejson + }), err.status_code @app.errorhandler(500)