Loading lib/document_stores/postgres.js +2 −2 Original line number Diff line number Diff line Loading @@ -66,8 +66,8 @@ PostgresDocumentStore.prototype = { // A connection wrapper safeConnect: function (callback) { this.pool.connect((err, client, done) => { if (err) { this.pool.connect((error, client, done) => { if (error) { winston.error('error connecting to postgres', {error}); callback(error); } else { Loading Loading
lib/document_stores/postgres.js +2 −2 Original line number Diff line number Diff line Loading @@ -66,8 +66,8 @@ PostgresDocumentStore.prototype = { // A connection wrapper safeConnect: function (callback) { this.pool.connect((err, client, done) => { if (err) { this.pool.connect((error, client, done) => { if (error) { winston.error('error connecting to postgres', {error}); callback(error); } else { Loading