Commit 83d17cf
Correctly handle promise rejections in the extension interface.
For DevTools extension commands, some of them were implemented
as async functions, but the message dispatcher wasn't changed
to also handle promise rejections, and thus any errors produced
were silently swallowed, instead of being reported to the caller
correctly.
Fixed: 327554073
Change-Id: If6701e5905b7bc3eecedd1f9f8b9e8ca50fe9352
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7367453
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>1 parent 3a2ba78 commit 83d17cf
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1421 | 1421 | | |
1422 | 1422 | | |
1423 | 1423 | | |
1424 | | - | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
1425 | 1429 | | |
1426 | 1430 | | |
1427 | 1431 | | |
| |||
0 commit comments