From b74cf0e9733fcbc1429b79fc2634e7bb74a8b9aa Mon Sep 17 00:00:00 2001 From: gabrielvv Date: Sat, 6 Jan 2018 22:25:21 +0100 Subject: [PATCH] missing path module and console.err -> console.error --- result/server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/result/server.js b/result/server.js index 0d0c60c..f3d7a07 100644 --- a/result/server.js +++ b/result/server.js @@ -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);