More verbose logging for SQL api connection errors
This commit is contained in:
parent
e5af3b90f4
commit
83e6e0d457
1
NEWS.md
1
NEWS.md
@ -2,6 +2,7 @@
|
||||
------
|
||||
|
||||
* Fix regression with default interactivity parameter (#74)
|
||||
* More verbose logging for SQL api connection errors
|
||||
|
||||
1.1.9
|
||||
-----
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user