Fix bug cannot get error information for OS Job