Skip to content

Commit 73bb13b

Browse files
committed
fix(Sdk): Made sure not to throw when not able to resolve an action type
1 parent 355ff0f commit 73bb13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServerlessWorkflow.Sdk/Models/ActionDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public virtual string Type
4949
else if (this.Subflow != null)
5050
return ActionType.Subflow;
5151
else
52-
throw new InvalidOperationException("Failed to determine the action type");
52+
return string.Empty;
5353
}
5454
}
5555

0 commit comments

Comments
 (0)