From 83e6e0d4575489fce4b5e88c64ce4ab13656b172 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 9 Apr 2013 18:07:53 +0200 Subject: [PATCH] More verbose logging for SQL api connection errors --- NEWS.md | 1 + lib/cartodb/server_options.js | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS.md b/NEWS.md index 153e8a78..caeaf6e8 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,7 @@ ------ * Fix regression with default interactivity parameter (#74) +* More verbose logging for SQL api connection errors 1.1.9 ----- diff --git a/lib/cartodb/server_options.js b/lib/cartodb/server_options.js index 8577a88b..d39fcead 100644 --- a/lib/cartodb/server_options.js +++ b/lib/cartodb/server_options.js @@ -70,6 +70,7 @@ module.exports = function(){ // call sql api request.get({url:sqlapi, qs:qs, json:true}, function(err, res, body){ if (err){ + console.log('ERROR running connecting to SQL API on ' + sqlapi + ': ' + err); callback(err); return; }