Improved error logging in mayaJob