Fix local name

master
John Crepezzi 5 years ago
parent f147acb51c
commit 219424550b
  1. 4
      lib/document_stores/postgres.js

@ -66,8 +66,8 @@ PostgresDocumentStore.prototype = {
// A connection wrapper // A connection wrapper
safeConnect: function (callback) { safeConnect: function (callback) {
this.pool.connect((err, client, done) => { this.pool.connect((error, client, done) => {
if (err) { if (error) {
winston.error('error connecting to postgres', {error}); winston.error('error connecting to postgres', {error});
callback(error); callback(error);
} else { } else {

Loading…
Cancel
Save