[Github-comments] [geany] Improve spawn module error messages (#541)

elextr notifications at xxxxx
Thu Oct 8 21:19:48 UTC 2015


Really libraries should not display errors, they should return error messages to the caller so the caller can decorate it with whatever more information they have.

So spawn_* would return the generic "Failed to find the executable" and the grep caller would combine to make a message like "Failed to execute 'grep': Failed to find executable".

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/541#issuecomment-146689159
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151008/5b858ca9/attachment.html>


More information about the Github-comments mailing list