Permalink
Browse files

instance: ignore DHT errors

  • Loading branch information...
indutny committed Sep 3, 2012
1 parent e37250c commit 693ee73e79763b6368b030b047b203efb809973f
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/vock/instance.js
View
@@ -104,6 +104,10 @@ Instance.prototype.init = function init() {
self.connect(id, peer.port, peer.address);
});
+ self.dht.on('error', function() {
+ // Ignore DHT errors
+ });
+
self.emit('dht:init');
});

0 comments on commit 693ee73

Please sign in to comment.