for test
This commit is contained in:
parent
2c38a4b53e
commit
59ed70a46c
|
@ -32,8 +32,8 @@ func (tt *Toutiao) GetSpiderID() int {
|
|||
func (tt *Toutiao) ToDoParser(adstring string) (presult string, err error) {
|
||||
|
||||
defer func() {
|
||||
if err = recover().(error); err != nil {
|
||||
log.Println(err)
|
||||
if ierr := recover(); ierr != nil {
|
||||
log.Println(ierr)
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user