mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[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:
parent
ba164c17ff
commit
f54713cc5e
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user