add in api for failure notification (bug 797927-two)