Skip to content

Commit 1f68b82

Browse files
committed
return if tracer is null
1 parent 3b75f94 commit 1f68b82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdk-workflows/src/main/java/io/dapr/workflows/client/DaprWorkflowClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ public WorkflowState waitForWorkflowCompletion(String instanceId, Duration timeo
489489
public void raiseEvent(String workflowInstanceId, String eventName, Object eventPayload) {
490490
if (tracer == null) {
491491
this.innerClient.raiseEvent(workflowInstanceId, eventName, eventPayload);
492+
return;
492493
}
493494

494495
Span span = tracer.spanBuilder("dapr.workflow.raiseEvent")

0 commit comments

Comments
 (0)