Commit d18619f
Reply with canvas error when canvas callback fails synchronously
Address Cloud Code Review feedback: the canvas.open / canvas.close /
canvas.action.invoke handlers caught synchronous failures (e.g. malformed
params from treeToValue, or any logic before the CompletableFuture chain is
attached) but only logged them, leaving the caller without a response. Send
a structured canvas error reply in the catch block so the provider callback
always completes instead of hanging.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 03501b3 commit d18619f
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| 501 | + | |
501 | 502 | | |
502 | 503 | | |
503 | 504 | | |
| |||
527 | 528 | | |
528 | 529 | | |
529 | 530 | | |
| 531 | + | |
530 | 532 | | |
531 | 533 | | |
532 | 534 | | |
| |||
556 | 558 | | |
557 | 559 | | |
558 | 560 | | |
| 561 | + | |
559 | 562 | | |
560 | 563 | | |
561 | 564 | | |
| |||
0 commit comments