Catch errors of subjobs