remove assert for Flutter Driver (#31815)
This commit is contained in:
@@ -935,7 +935,8 @@ void restoreVmServiceConnectFunction() {
|
||||
|
||||
void _unhandledJsonRpcError(dynamic error, dynamic 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
|
||||
|
||||
@@ -237,7 +237,7 @@ class VMService {
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user