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

Catch error on docker-modem disconnect #16

Merged
merged 1 commit into from
Jul 11, 2016
Merged

Conversation

megastef
Copy link
Collaborator

Accoring to my tests catching and ignoring the error when Docker daemon restarts works - so docker loghose continues to receive logs after the restart Docker daemon (> Docker v1.11).

Initially I've tried to emit the error via the "result" object, to make DLH users aware about the disconnect, e.g. to reconnect. But this did lead to a stack overflow. So this solution is "silent", but works for the scenario in issue #15

Demo: http://recordit.co/GuRtxVw48t

@mcollina
Copy link
Owner

This is great, thanks!

@mcollina mcollina merged commit 0ed5a47 into mcollina:master Jul 11, 2016
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