Marthee commited on
Commit
7b116a4
·
verified ·
1 Parent(s): 6d78f19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def apifunction():
42
 
43
  return jsonify(jsonOutput)
44
 
45
- except error:
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