Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] Don't throw errors if jackpot is unable to create a connection.…

… Fixes #63
  • Loading branch information...
commit 85e9233b6d3516b4e99fb11cb4a500b964ff3ea8 1 parent 007cb7a
@3rd-Eden authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/memcached.js
View
4 lib/memcached.js
@@ -168,6 +168,10 @@ Client.config = {
return S;
});
+ manager.on('error', function err(e) {
+ if (memcached.debug) console.log('Connection error', e);
+ });
+
this.connections[server] = manager;
// now that we have setup our connection factory we can allocate a new
Please sign in to comment.
Something went wrong with that request. Please try again.