Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def apifunction():
|
|
| 42 |
|
| 43 |
return jsonify(jsonOutput)
|
| 44 |
|
| 45 |
-
except
|
| 46 |
print(f"Error: {e}")
|
| 47 |
return jsonify({"error": str(e)}), 500
|
| 48 |
|
|
|
|
| 42 |
|
| 43 |
return jsonify(jsonOutput)
|
| 44 |
|
| 45 |
+
except Exception as e:
|
| 46 |
print(f"Error: {e}")
|
| 47 |
return jsonify({"error": str(e)}), 500
|
| 48 |
|