DmitrMakeev commited on
Commit
c877030
·
verified ·
1 Parent(s): 3c3d1dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1112,7 +1112,10 @@ def handle_calculation():
1112
  return jsonify(result)
1113
 
1114
  except Exception as e:
1115
- return jsonify({"error": str(e)}), 500
 
 
 
1116
 
1117
 
1118
 
 
1112
  return jsonify(result)
1113
 
1114
  except Exception as e:
1115
+ return jsonify({
1116
+ "error": str(e),
1117
+ "message": "Ошибка расчета"
1118
+ }), 500
1119
 
1120
 
1121