Skip to content

Suppress warnings on stream_socket_client#87

Merged
repejota merged 1 commit intorepejota:developfrom
Rentlio:develop
Apr 5, 2017
Merged

Suppress warnings on stream_socket_client#87
repejota merged 1 commit intorepejota:developfrom
Rentlio:develop

Conversation

@ipadavic
Copy link
Copy Markdown
Contributor

When calling stream_socket_client and gnatsd is not running, stream_socket_client throws warnings , not exceptions. So I have added void error handler that suppresses just this call end then pops out of an error handler stack.

And if stream handle does not exist, now exception is thrown before trying to call stream_set_timeout.

Tests are added by using hopefully non used port in travis.

…ost or port. For example when nats server is down.
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.6%) to 88.832% when pulling 6890b6a on Rentlio:develop into d1fc1da on repejota:develop.

2 similar comments
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.6%) to 88.832% when pulling 6890b6a on Rentlio:develop into d1fc1da on repejota:develop.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.6%) to 88.832% when pulling 6890b6a on Rentlio:develop into d1fc1da on repejota:develop.

Copy link
Copy Markdown
Contributor

@dfeyer dfeyer left a comment

Choose a reason for hiding this comment

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

This one can be merged @repejota ?

@repejota repejota merged commit 82a139b into repejota:develop Apr 5, 2017
@repejota
Copy link
Copy Markdown
Owner

repejota commented Apr 5, 2017

Thanks! 👍

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.

4 participants