Show error details in method channel response error messages (#18571)
diff --git a/shell/platform/linux/fl_method_response.cc b/shell/platform/linux/fl_method_response.cc
index 9082b9d..6f7f09e 100644
--- a/shell/platform/linux/fl_method_response.cc
+++ b/shell/platform/linux/fl_method_response.cc
@@ -93,9 +93,8 @@
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",