Commit 255cb6f
committed
Add descriptive error when orchestration type is not registered
Replace NullPointerException with IllegalStateException containing a
descriptive message when a worker receives an orchestration event for a
type it doesn't have registered. This helps users understand that
workers that don't support the requested orchestration type are
connected to the task hub.1 parent 8bb8050 commit 255cb6f
File tree
1 file changed
+7
-1
lines changed- client/src/main/java/com/microsoft/durabletask
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
882 | 882 | | |
883 | 883 | | |
884 | 884 | | |
885 | | - | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
886 | 892 | | |
887 | 893 | | |
888 | 894 | | |
| |||
0 commit comments