Unverified Commit ec7b46e3 authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

Add stack trace to exception logs in flutter_platform (#16715)

parent e6b62a3a
......@@ -506,7 +506,7 @@ class _FlutterPlatform extends PlatformPlugin {
if (!controllerSinkClosed) {
controller.sink.addError(error, stack);
} else {
printError('unhandled error during test:\n$testPath\n$error');
printError('unhandled error during test:\n$testPath\n$error\n$stack');
outOfBandError ??= error;
}
} finally {
......@@ -520,7 +520,7 @@ class _FlutterPlatform extends PlatformPlugin {
if (!controllerSinkClosed) {
controller.sink.addError(error, stack);
} else {
printError('unhandled error during finalization of test:\n$testPath\n$error');
printError('unhandled error during finalization of test:\n$testPath\n$error\n$stack');
outOfBandError ??= error;
}
}
......
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