Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aoaow authored Dec 13, 2024
1 parent e71b4f2 commit 1b9ee6f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion project/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,7 @@ def index():
@app.errorhandler(Exception)
def handle_exception(e):
print(f"Unhandled exception: {e}")
return jsonify({"error": "Internal Server Error"}),
return jsonify({"error": "Internal Server Error"}),

if __name__ == "__main__":
app.run(debug=True, host="0.0.0.0", port=3000)

0 comments on commit 1b9ee6f

Please sign in to comment.