mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-01 03:21:21 +00:00
Fix local name
This commit is contained in:
parent
f147acb51c
commit
219424550b
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue