Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added feature to handle links timing out #5

Merged
merged 2 commits into from
Oct 2, 2020

Conversation

matt-ross16
Copy link
Contributor

Fixes #4

Introduced error checking within the 'linkCheck()' function. Rather than accessing the response status immediately, the program now checks to see if the response was 'ok'. If it was not a good response, an error gets thrown and handled now.

Tested against http://www.deadlinkcity.com/, links no longer cause the program to crash.

@Jasper-Mui Jasper-Mui merged commit b035196 into Jasper-Mui:master Oct 2, 2020
@Jasper-Mui
Copy link
Owner

Thanks for the PR matt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implementing a Feature for Handling Link Timeout
2 participants