make the failure notification generic