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())); } }); }