Unverified Commit 896c63ea authored by sigmundch's avatar sigmundch Committed by GitHub

[test] log stack trace on errors, to improve diagnostics on #89243 (#94885)

parent 23a52f54
...@@ -169,8 +169,8 @@ class _TaskQueueItem<T> { ...@@ -169,8 +169,8 @@ class _TaskQueueItem<T> {
Future<void> run() async { Future<void> run() async {
try { try {
_completer.complete(await _closure()); _completer.complete(await _closure());
} catch (e) { } catch (e, st) {
_completer.completeError(e); _completer.completeError(e, st);
} finally { } finally {
onComplete?.call(); onComplete?.call();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment