According to https://docs.python.org/2/library/sys.html the sys.exit([arg]) call will still result in error code of 1 for any non-zero object given. But at least by providing the error message it can be caught and inspected by the running program first.
Include error message in task abort exception
Seems like a useful enough change and I can't see any backwards compat issues with it, since as you mentioned this only adds info & does not change exit code. Thanks!
Hi, Thanks for your reply. I can see all these labels you have added but, as I'm not aware, does it mean you need me to follow up with something?
Thanks and pardon my ignorance,
@ipanousis Nope just notes to myself for when I merge & release, thanks :)
Changelog closes #1213
Add another test re: #1318, re #1213.
Also tweak previous test. Not sure why newline was different this time.