diff --git a/engine/src/flutter/shell/platform/linux/fl_method_response.cc b/engine/src/flutter/shell/platform/linux/fl_method_response.cc index 9082b9d50a..6f7f09ee86 100644 --- a/engine/src/flutter/shell/platform/linux/fl_method_response.cc +++ b/engine/src/flutter/shell/platform/linux/fl_method_response.cc @@ -93,9 +93,8 @@ G_MODULE_EXPORT FlValue* fl_method_response_get_result(FlMethodResponse* self, FlValue* details = fl_method_error_response_get_details(FL_METHOD_ERROR_RESPONSE(self)); g_autofree gchar* details_text = nullptr; - if (details != nullptr) { - // TODO(robert-ancell): Update this when we have fl_value_to_string() - } + if (details != nullptr) + details_text = fl_value_to_string(details); g_autoptr(GString) error_message = g_string_new(""); g_string_append_printf(error_message, "Remote code returned error %s",