Skip to content

Commit 1551fe6

Browse files
authored
Wrap VM service API methods in an error handler to convert any exceptions into type RPCError (#2144)
Fixes #2140, work towards flutter/flutter#126362
1 parent 06abe90 commit 1551fe6

File tree

4 files changed

+355
-13
lines changed

4 files changed

+355
-13
lines changed

dwds/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
- Display type objects concisely. - [#2103](https://github.com/dart-lang/webdev/pull/2103)
77
- Support using scope in `ChromeProxyService.evaluateInFrame`. - [#2122](https://github.com/dart-lang/webdev/pull/2122)
88
- Check for new events more often in batched stream. - [#2123](https://github.com/dart-lang/webdev/pull/2123)
9-
- Map Chrome error on `resume` to the same error returned by the Dart VM. - [#2133](https://github.com/dart-lang/webdev/issues/2133)
9+
- Map Chrome error on `resume` to the same error returned by the Dart VM. - [#2133](https://github.com/dart-lang/webdev/issues/2133)
10+
- VM service API methods throw type `RPCError`, same as the Dart VM. - [#2144](https://github.com/dart-lang/webdev/pull/2144)
1011

1112
## 19.0.0
1213

0 commit comments

Comments
 (0)