Skip to content

Commit

Permalink
log exceptions at infer
Browse files Browse the repository at this point in the history
Signed-off-by: Praneeth Bedapudi <praneeth@bpraneeth.com>
  • Loading branch information
bedapudi6788 committed Dec 12, 2023
1 parent 5f5d108 commit dbd5e75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions fastdeploy/_infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ def infer(
time.sleep(self.result_polling_interval)

except Exception as ex:
_utils.logger.exception(ex, exc_info=True)
return self.create_response(
{
"success": False,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
EMAIL = "praneeth@bpraneeth.com"
AUTHOR = "BEDAPUDI PRANEETH"
REQUIRES_PYTHON = ">=3.6.0"
VERSION = "3.0.2"
VERSION = "3.0.3"

# What packages are required for this module to be executed?
REQUIRED = ["falcon", "liteindex", "zstandard", "gunicorn[gevent]", "msgpack"]
Expand Down

0 comments on commit dbd5e75

Please sign in to comment.