Skip to content

Conversation

@ckerens
Copy link
Contributor

@ckerens ckerens commented Feb 1, 2023

Implemented an "unreachable" ErrorType for Linux/Android, Mac, and Windows.

Copy link
Owner

@point-source point-source left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Please update the readme. Particularly the parser override section, if possible.

}

// Host or Network Unreachable
if (data.contains(unreachableStr)) {
Copy link
Owner

@point-source point-source Feb 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These if statements should probably become if/else unless we can guarantee that the presence of one truthy contains() negates the others. Reason being that we don't want one line of ping output to result in two separate PingData events.

@ckerens
Copy link
Contributor Author

ckerens commented Feb 6, 2023

I can take care of this sometime in the next few days. Currently deep in another project, but I agree on the requested changes.

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.

2 participants