add message in job when an error occured