We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cf98de commit 6eb941aCopy full SHA for 6eb941a
science/server.py
@@ -55,7 +55,7 @@ def error():
55
def handle_exception(e):
56
# now you're handling non-HTTP exceptions only
57
msg = f"Sadly, OpenAI appears to be down. Please try again later. ({e.__class__.__name__})"
58
- app.logger.error(msg)
+ app.log_exception(msg)
59
return msg, 500
60
61
0 commit comments