Update the listener to report the error