GithubHelp home page GithubHelp logo

Comments (10)

zhegexiaohuozi avatar zhegexiaohuozi commented on August 29, 2024

文档:http://wiki.seimicrawler.org/#a849b0c550071525003d5ab6d9b8d1e0
image

from seimicrawler.

zhengb0 avatar zhengb0 commented on August 29, 2024

我明白了,只能通过日志记录的方式来打印该异常,然后通过handleErrorRequest方法来实现自己的业务逻辑,并不能catch住异常。

from seimicrawler.

zhegexiaohuozi avatar zhegexiaohuozi commented on August 29, 2024

不是,你可以覆盖自定义实现,文档说的还不明白?

from seimicrawler.

zhegexiaohuozi avatar zhegexiaohuozi commented on August 29, 2024

记日志是默认的基本实现……

from seimicrawler.

zhengb0 avatar zhengb0 commented on August 29, 2024

嗯,我的意思就是默认的是只能记录日志,重写该方法的话可以实现自己的业务逻辑,但是日志是都会打印的。 我的意思是不能catch住异常不让他打印日志。

from seimicrawler.

zhegexiaohuozi avatar zhegexiaohuozi commented on August 29, 2024

覆盖后日志不会打印的

from seimicrawler.

zhegexiaohuozi avatar zhegexiaohuozi commented on August 29, 2024

覆盖后看你自己的实现

from seimicrawler.

zhengb0 avatar zhengb0 commented on August 29, 2024

image
会有异常信息抛出

from seimicrawler.

zhengb0 avatar zhengb0 commented on August 29, 2024

不好意思老师,我的意思可能表达错误了。
确实handleErrorRequest的日志不打印了,但是还会有异常信息抛出,我想问的问题是如何把这个异常信息catch住,不让他打印出来。

from seimicrawler.

zhegexiaohuozi avatar zhegexiaohuozi commented on August 29, 2024

这个不接受catch,是处理器扔出来的,你不想看日志,可以把处理器类的日志禁用

from seimicrawler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.