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

Debug message doesn't print in Insteon #345

Closed
mstovenour opened this issue Dec 30, 2013 · 1 comment
Closed

Debug message doesn't print in Insteon #345

mstovenour opened this issue Dec 30, 2013 · 1 comment
Labels

Comments

@mstovenour
Copy link
Collaborator

This one takes 2 seconds to fix and about 15 minutes to create the branch, pull request, and merge :) this is when GitHub looks like overkill :)

lib/Insteon/Message.pm (234):
if ((ref $self->setby && $self->setby->debuglevel(1, 'insteon')) ||
    ((!ref $self->setby) && ::debug{'insteon'})){
    ::print_log("[Insteon::BaseMessage] WARN: now resending "
    . $self->to_string() . " after " . $self->send_attempts
    . " attempts.");
}

I think ::debug should be $::Debug but maybe there should be something more specific with Kevin's new per-device logic.

@krkeegan
Copy link
Collaborator

Grr, as the source of the bug, I will fix it.

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

No branches or pull requests

2 participants