Commit 36d1e9e
committed
Prevent empty notifications when
Because of the `failure()` check, the `failure` job runs even when the message's payload is not properly prepared.
This adds an additional check to guard against scenarios where the `payload` output is empty.prepare fails.1 parent bf4c174 commit 36d1e9e
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
0 commit comments