I have a couple of custom python scripts that I run to perform checks on the PCB that I haven’t been able to do with custom rules. I have set them up like this so I can log the stack traces as well as program output.
All of this is working well, but if I return a non-zero exit code, I get the exclamation mark in the jobset UI, but it doesn’t copy the output from the temporary directory. Meaning I don’t get the error messages, which are useful to finding the problem in the PCB.
To work around this I have to set Ignore non-zero exit code, run it again, check the output, fix the file and put it back. What I really want is an option to log the output, but also show the exclamation mark.
Is there any way to do this, or would this be a good feature request to add?