display error message on attachement error