[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
This commit is contained in:
Emircan Uysaler 2023-04-12 16:42:55 -04:00 committed by GitHub
parent ba164c17ff
commit f54713cc5e

View File

@ -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)