Commit 821e065
committed
Revise single workflow exit path
- Added log message before canceling in error case.
- Return after calling ctxCancel.
- This makes the control flow for the single-workflow case match what
it was in the original implementation of woodpecker-ci#4019. As of commit
5c9fc61, the 'err' value is never
propagated to the caller, so this implementation returns nil.
- Fixed grammar in startup log message.1 parent a00c62a commit 821e065
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
307 | 308 | | |
| 309 | + | |
308 | 310 | | |
309 | 311 | | |
310 | 312 | | |
| |||
331 | 333 | | |
332 | 334 | | |
333 | 335 | | |
334 | | - | |
| 336 | + | |
335 | 337 | | |
336 | 338 | | |
337 | 339 | | |
| |||
0 commit comments