[Github-comments] [geany/geany] Improve template command error message (#1166)

Enrico Tröger notifications at xxxxx
Mon Aug 29 08:27:40 UTC 2016


I'd like to keep the notice because the command path in the template is the user input and so rather likely to be the cause. However, there is no "template path" here. The context is a custom command (http://geany.org/manual/#special-command-wildcard) in a template has failed.

So maybe rather: "Hint: errors in the command path in the template are a common cause of problems" ?

Checking for `ENOENT` probably causes more problems because we first had to parse and somewhat interpret the command.
In an ideal world, the error message from the subsystem would properly describe what went wrong and so we would not need to guess. But at least on Windows, error messages are sometimes rather random text than helpful, IMHO.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1166#issuecomment-243063113
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160829/99871e42/attachment.html>


More information about the Github-comments mailing list