Add exception handling --gather option#271
Conversation
|
@fukusuket Thanks for noticing it and for the PR! |
|
This looks good to me, if you've tested it out and it's working then I'm fine with merging. If not, I'll check it out sometime this week. |
|
@KingAkeem log level info( log level debug |
|
The I haven't tested this, but it looks good to me and I don't think it'll break anything. |
KingAkeem
left a comment
There was a problem hiding this comment.
Great work and thank you for the contribution 👍🏿
|
Thank you for prompt review :) |
Hello, thank you for maintaining the tool :)
When crawling URLs with the
--gatheroption, you may not be sure that all URLs are reachable.Therefore, I changed it to continue crawling other URLs even if there is a connection error.
Changes Proposed
--gatheroption.Failed to connect to [url] .Explanation of Changes
When executing with
--gatheroption, if there is even one URL that cannot be connected, the program will exit with an exception as follows.Screenshots of new feature/change
This PR outputs the URL that had the connection error and continues further processing as follows.
I would appreciate it if you could review.
Regards.