Merge pull request #104 from gabrielvv/master

missing path module and console.err -> console.error
This commit is contained in:
Mano Marks 2018-02-01 15:37:33 -08:00 committed by GitHub
commit e3eb2dbd2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
var express = require('express'),
async = require('async'),
pg = require("pg"),
path = require("path"),
cookieParser = require('cookie-parser'),
bodyParser = require('body-parser'),
methodOverride = require('method-override'),
@ -33,7 +34,7 @@ async.retry(
},
function(err, client) {
if (err) {
return console.err("Giving up");
return console.error("Giving up");
}
console.log("Connected to db");
getVotes(client);