Skip to content

Commit 6cf98de

Browse files
committed
tweak
1 parent 1a4a745 commit 6cf98de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

science/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def _clear_conversation(user_id: int):
4848

4949
@app.route("/error")
5050
def error():
51-
raise Exception("This is an error")
51+
raise OpenAIError("This is an error")
5252

5353

5454
@app.errorhandler(OpenAIError)

0 commit comments

Comments
 (0)