From f9458f92284fd422ba5716c3177e897e5daea87b Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 4 Nov 2022 21:45:40 +0100 Subject: [PATCH] Improve error message for invalid library feature flags Fixes https://github.com/godotengine/godot/issues/63227 My version for the error message is: `No suitable library found. The libraries' tags referred to an invalid feature flag. Possible feature flags for your platform: %s` --- editor/plugins/gdextension_export_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/gdextension_export_plugin.h b/editor/plugins/gdextension_export_plugin.h index e1d68d97b53..c5f7d2a047b 100644 --- a/editor/plugins/gdextension_export_plugin.h +++ b/editor/plugins/gdextension_export_plugin.h @@ -107,7 +107,7 @@ void GDExtensionExportPlugin::_export_file(const String &p_path, const String &p for (const String &E : p_features) { tags.append(E); } - ERR_FAIL_MSG(vformat("Couldn't export extension: %s. No suitable library found for export flags: %s", p_path, String(", ").join(tags))); + ERR_FAIL_MSG(vformat("No suitable library found. The libraries' tags referred to an invalid feature flag. Possible feature flags for your platform: %s", p_path, String(", ").join(tags))); } List dependencies;