Commit d517971
committed
Ensure a
The `GetTopicID()` function returns the `@TopicID` corresponding to a given `@TopicKey`. The only problem? If it isn't able to find the `@TopicID` then it doesn't return a value—which causes downstream implementors to falter when trying to consumer the output. To mitigate that, we're now returning a default of `-1`.@TopicID is returned from GetTopicID()
1 parent 5138dea commit d517971
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments