Skip to content

Commit

Permalink
fix: remove console.error on init in regular browser (#17)
Browse files Browse the repository at this point in the history
fix: remove console.error on init in regular browser
  • Loading branch information
feross authored Oct 6, 2019
2 parents 83c3f0d + 554dea9 commit 6e624cc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ if (
) {
chrome.sockets.udp.onReceive.addListener(onReceive)
chrome.sockets.udp.onReceiveError.addListener(onReceiveError)
} else {
console.error('Undefined chrome ref, could not register on-receive listener')
}

function onReceive (info) {
Expand Down

0 comments on commit 6e624cc

Please sign in to comment.