colly
colly copied to clipboard
The code panics in a certain OnResponse. How can the code not stop?
The code accidentally panics in a certain OnResponse, how can the code not stop? Let other requests continue.
请问,这个Goroutine里能否选择添加defer recover机制? @WGH-
I don't understand Chinese, could you repeat your question in English?
The code accidentally panics in a certain OnResponse, how can the code not stop? Let other requests continue. Now the program exits directly.
Excuse me, can I choose to add a defer recover mechanism to the fetch goroutine?
@WGH-
This will not cause the program to exit directly.
Do you have time to look at this question? How to implement this function without changing the source code. @WGH-
Experienced it once too. Seems like the whole package does not use recover anywhere.