From f54713cc5ea3ca11dddec4487e5d0006f1fa5799 Mon Sep 17 00:00:00 2001 From: Emircan Uysaler Date: Wed, 12 Apr 2023 16:42:55 -0400 Subject: [PATCH] [fuchsia] Reduce noise from child view disconnects (flutter/engine#41132) This CL changes ERROR to WARNING for the logs when a child disconnects and ChildViewWatcher is closed. This may happen due to other apps and doesn't necessarily indicate a flutter error. Bug:fxb/125256 --- .../shell/platform/fuchsia/flutter/flatland_platform_view.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/shell/platform/fuchsia/flutter/flatland_platform_view.cc b/engine/src/flutter/shell/platform/fuchsia/flutter/flatland_platform_view.cc index 0922661723f..e6cd12805bf 100644 --- a/engine/src/flutter/shell/platform/fuchsia/flutter/flatland_platform_view.cc +++ b/engine/src/flutter/shell/platform/fuchsia/flutter/flatland_platform_view.cc @@ -187,8 +187,8 @@ void FlatlandPlatformView::OnCreateView(ViewCallback on_view_created, child_view_watcher.set_error_handler( [weak, view_id, content_id](zx_status_t status) { - FML_LOG(ERROR) << "Interface error on: ChildViewWatcher status: " - << status; + FML_LOG(WARNING) << "Child disconnected. ChildViewWatcher status: " + << status; if (!weak) { FML_LOG(WARNING)