Unverified Commit eac2104b authored by Dan Field's avatar Dan Field Committed by GitHub

remove assert for Flutter Driver (#31815)

parent 39712854
...@@ -935,7 +935,8 @@ void restoreVmServiceConnectFunction() { ...@@ -935,7 +935,8 @@ void restoreVmServiceConnectFunction() {
void _unhandledJsonRpcError(dynamic error, dynamic stack) { void _unhandledJsonRpcError(dynamic error, dynamic stack) {
_log.trace('Unhandled RPC error:\n$error\n$stack'); _log.trace('Unhandled RPC error:\n$error\n$stack');
assert(false); // TODO(dnfield): https://github.com/flutter/flutter/issues/31813
// assert(false);
} }
/// Waits for a real Dart VM service to become available, then connects using /// Waits for a real Dart VM service to become available, then connects using
......
...@@ -237,7 +237,7 @@ class VMService { ...@@ -237,7 +237,7 @@ class VMService {
} }
static void _unhandledError(dynamic error, dynamic stack) { static void _unhandledError(dynamic error, dynamic stack) {
logger.printTrace('Error in internalimplementation of JSON RPC.\n$error\n$stack'); logger.printTrace('Error in internal implementation of JSON RPC.\n$error\n$stack');
assert(false); assert(false);
} }
......
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