Skip to content

Commit

Permalink
unrestrict sentry workflow interceptor sdk call (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
nediamond authored Jan 24, 2023
1 parent 0800779 commit 7b39449
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sentry/interceptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ async def execute_workflow(self, input: ExecuteWorkflowInput) -> Any:
set_context("temporal.workflow.info", workflow.info().__dict__)

if not workflow.unsafe.is_replaying():
capture_exception()
with workflow.unsafe.sandbox_unrestricted():
capture_exception()
raise e


Expand Down

0 comments on commit 7b39449

Please sign in to comment.