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

Add descriptive message for protocol timeout #75

Merged
merged 1 commit into from
Aug 8, 2020
Merged

Add descriptive message for protocol timeout #75

merged 1 commit into from
Aug 8, 2020

Conversation

rajkumaar23
Copy link
Contributor

@rajkumaar23 rajkumaar23 commented Aug 7, 2020

Description

This PR tries to handle the error with a code of PROTOCOL_TIMEOUT with a descriptive error message.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Related Issue

Fixes #73

Motivation and Context

When there's a PROTOCOL_TIMEOUT error, we need to detect and gracefully handle with a descriptive error message.

How Has This Been Tested?

Used the command to run against a website that is blocked by my ISP and received this descriptive error message.

Screenshots (if appropriate):

Checklist:

  • I have updated the documentation (if required).
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I added a picture of a cute animal cause it's fun

Signed-off-by: Rajkumar S <rajkumaar2304@icloud.com>
@rajkumaar23
Copy link
Contributor Author

@lirantal Let me know if you could think of a better descriptive message for the timeout.

@lirantal
Copy link
Owner

lirantal commented Aug 8, 2020

Looks good to me, thanks Raj! ❤️

@lirantal lirantal merged commit 6db4833 into lirantal:master Aug 8, 2020
@rajkumaar23 rajkumaar23 deleted the protocol-timeout-msg branch August 8, 2020 10:44
@github-actions
Copy link

github-actions bot commented Aug 8, 2020

🎉 This PR is included in version 1.14.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Scan errors out with PROTOCOL_TIMEOUT
2 participants