Committed some changes I put in the wrong spot before.
Raise error upon child process failure.