[Github-comments] [geany] Alter spawn to return the error message only in error->message (#701)

Colomban Wendling notifications at xxxxx
Thu Oct 29 18:48:28 UTC 2015


> @@ -617,7 +617,8 @@ static gchar *run_command(const gchar *command, const gchar *file_name,
>  	}
>  	else
>  	{
> -		g_warning("templates_replace_command: %s", error->message);
> +		g_warning(_("Cannot execute template replacement command \"%s\": %s. "
> +			"Check the path setting in template."), command, error->message);

something like *Cannot execute command "%s" from the template: %s.  Check the path in the template.* would probably be more correct and easier to understand (as esp. it's not a command that processes templates, but a command replaced in the template).

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/701/files#r43428286
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151029/8d257575/attachment.html>


More information about the Github-comments mailing list