when a job returns an error emit that error so there can be a global handler.