protected void onError(Request request, Exception e) {
        this.onError(request);

        if (CollectionUtils.isNotEmpty(spiderListeners)) {
            for (SpiderListener spiderListener : spiderListeners) {
                spiderListener.onError(request, e);
            }
        }
    }
@deprecated Use {@link #onError(Request, Exception)} instead.
webmagic-core/src/main/java/us/codecraft/webmagic/Spider.java