@@ -520,7 +520,11 @@ class ProxiedPortForwarder extends DevicePortForwarder {
520520 socket.listen ((Uint8List data) {
521521 unawaited (connection.sendRequest ('proxy.write' , < String , Object > {
522522 'id' : id,
523- }, data).catchError ((Object error, StackTrace stackTrace) {
523+ }, data)
524+ // TODO(srawlins): Fix this static issue,
525+ // https://github.com/flutter/flutter/issues/105750.
526+ // ignore: body_might_complete_normally_catch_error
527+ .catchError ((Object error, StackTrace stackTrace) {
524528 // Log the error, but proceed normally. Network failure should not
525529 // crash the tool. If this is critical, the place where the connection
526530 // is being used would crash.
@@ -537,7 +541,11 @@ class ProxiedPortForwarder extends DevicePortForwarder {
537541 // Send a proxy disconnect event just in case.
538542 unawaited (connection.sendRequest ('proxy.disconnect' , < String , Object > {
539543 'id' : id,
540- }).catchError ((Object error, StackTrace stackTrace) {
544+ })
545+ // TODO(srawlins): Fix this static issue,
546+ // https://github.com/flutter/flutter/issues/105750.
547+ // ignore: body_might_complete_normally_catch_error
548+ .catchError ((Object error, StackTrace stackTrace) {
541549 // Ignore the error here. There might be a race condition when the
542550 // remote end also disconnects. In any case, this request is just to
543551 // notify the remote end to disconnect and we should not crash when
0 commit comments