Skip to content

Commit

Permalink
dont swallow error
Browse files Browse the repository at this point in the history
  • Loading branch information
grutt committed Jun 12, 2024
1 parent c02329e commit d537ec2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions hatchet_sdk/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,11 +293,11 @@ async def async_wrapped_action_func(context):
# Send the action event to the dispatcher
self.dispatcher_client.send_group_key_action_event(event)

try:
await task
except Exception as e:
# do nothing, this should be caught in the callback
pass
# try:
await task
# except Exception as e:
# # do nothing, this should be caught in the callback
# pass

def force_kill_thread(self, thread):
"""Terminate a python threading.Thread."""
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "hatchet-sdk"
version = "0.26.4-b0"
version = "0.26.4-b1"
description = ""
authors = ["Alexander Belanger <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit d537ec2

Please sign in to comment.