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

Reply via email to