diff --git a/temporal-sdk/src/main/java/io/temporal/client/WorkflowException.java b/temporal-sdk/src/main/java/io/temporal/client/WorkflowException.java index 3feb5f489..33b0d9a16 100644 --- a/temporal-sdk/src/main/java/io/temporal/client/WorkflowException.java +++ b/temporal-sdk/src/main/java/io/temporal/client/WorkflowException.java @@ -39,6 +39,6 @@ private static String getMessage(WorkflowExecution execution, String workflowTyp + execution.getWorkflowId() + "', runId='" + execution.getRunId() - + (workflowType == null ? "" : "', workflowType='" + workflowType + '\''); + + (workflowType == null ? "'" : "', workflowType='" + workflowType + '\''); } }