More verbose logging for SQL api connection errors

This commit is contained in:
Sandro Santilli 2013-04-09 18:07:53 +02:00
parent e5af3b90f4
commit 83e6e0d457
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
------
* Fix regression with default interactivity parameter (#74)
* More verbose logging for SQL api connection errors
1.1.9
-----

View File

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