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

Emit debug message instead of error for unsupported devkits #95

Merged
merged 2 commits into from
Oct 19, 2017

Conversation

mrodem
Copy link
Contributor

@mrodem mrodem commented Oct 18, 2017

The AdapterFactory monitors changes to connected devkits/dongles and emits events when a kit has been added/removed etc. If an unsupported device is found, the AdapterFactory would emit an error every 2 seconds. Instead of emitting an error in this case, we now emit a debug log message to make it less intrusive.

Copy link
Contributor

@bihanssen bihanssen left a comment

Choose a reason for hiding this comment

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

Still sound annoying to have log statements every 2 seconds, but at least better than throwing errors.

@mrodem mrodem merged commit 0f3f02d into master Oct 19, 2017
@mrodem mrodem deleted the fix/errors-emitted-for-unsupported-devkit branch October 19, 2017 09:07
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.

3 participants