If onError returns false, don't print error message.