catch sub jobs errors