Changed to notify errors only through listener.