Skip to content

Commit 7b39449

Browse files
authored
unrestrict sentry workflow interceptor sdk call (temporalio#47)
1 parent 0800779 commit 7b39449

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sentry/interceptor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ async def execute_workflow(self, input: ExecuteWorkflowInput) -> Any:
6363
set_context("temporal.workflow.info", workflow.info().__dict__)
6464

6565
if not workflow.unsafe.is_replaying():
66-
capture_exception()
66+
with workflow.unsafe.sandbox_unrestricted():
67+
capture_exception()
6768
raise e
6869

6970

0 commit comments

Comments
 (0)