From 7f5afc5533b91da7b56baec3406b364684f81250 Mon Sep 17 00:00:00 2001 From: Thomas Gales Date: Thu, 30 Mar 2023 13:09:50 -0700 Subject: [PATCH] [fuchsia] Feedback filing migration (flutter/engine#40736) [fuchsia] Feedback filing migration --- .../fuchsia/runtime/dart/utils/handle_exception.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/src/flutter/shell/platform/fuchsia/runtime/dart/utils/handle_exception.cc b/engine/src/flutter/shell/platform/fuchsia/runtime/dart/utils/handle_exception.cc index 2c9106358e..3df5b32543 100644 --- a/engine/src/flutter/shell/platform/fuchsia/runtime/dart/utils/handle_exception.cc +++ b/engine/src/flutter/shell/platform/fuchsia/runtime/dart/utils/handle_exception.cc @@ -114,12 +114,12 @@ void HandleException(std::shared_ptr<::sys::ServiceDirectory> services, fuchsia::feedback::CrashReporterPtr crash_reporter = services->Connect(); - crash_reporter->File( + crash_reporter->FileReport( std::move(crash_report), - [](fuchsia::feedback::CrashReporter_File_Result result) { + [](fuchsia::feedback::CrashReporter_FileReport_Result result) { if (result.is_err()) { - FX_LOGF(ERROR, LOG_TAG, "Failed to report Dart exception: %d (%s)", - result.err(), zx_status_get_string(result.err())); + FX_LOGF(ERROR, LOG_TAG, "Failed to report Dart exception: %u", + static_cast(result.err())); } }); }