Commit d792998
authored
capture error for mapping (#5325)
fix b/524480139
This PR update the batch service to handle when the config mapping
doesn't match. The problem is that this raises a exception which avoids
to ack the message from pubsub, keeping the problematic task in the
queue forever. For this case of mismatching, we should log and remove
the task from the queue to avoid no scheduling legit tasks.
Signed-off-by: Javan Lacerda <javanlacerda@google.com>1 parent f69c2e6 commit d792998
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
360 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
361 | 368 | | |
362 | 369 | | |
363 | 370 | | |
| |||
0 commit comments