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; }