Skip to content

Commit 7ff8d13

Browse files
Adam BaloghAdam Balogh
authored andcommitted
unhandled
1 parent eb922cf commit 7ff8d13

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

server/server.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ def handle_generic_error(e):
151151
logging.error(f"Traceback: {error_traceback}")
152152
logging.error(f"Request Path: {request.path}")
153153
logging.error(f"Request Body: {request.get_data(as_text=True)}")
154+
statsd.increment("agent.message.unhandled_error")
155+
154156
return jsonify({"error": str(e)}), 500
155157

156158
@app.route("/api/verify/solana", methods=["POST"])

0 commit comments

Comments
 (0)