add handler for fail ERROR message