Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1112,7 +1112,10 @@ def handle_calculation():
|
|
1112 |
return jsonify(result)
|
1113 |
|
1114 |
except Exception as e:
|
1115 |
-
return jsonify({
|
|
|
|
|
|
|
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 |
|