Comparing version 0.1.6 to 0.1.7
@@ -101,4 +101,4 @@ var Q = require('q'); | ||
if (error || response.statusCode != "200") { | ||
console.log('Call to "'+url+'" failed with the error: "'+error+'"'); | ||
deferred.resolve(null); | ||
//console.log('Call to "'+url+'" failed with the error: "'+error+'"'); | ||
deferred.resolve([]); | ||
return deferred.promise; | ||
@@ -105,0 +105,0 @@ } |
@@ -9,3 +9,3 @@ { | ||
"description": "The newsQuery NPM package provides a simple interface to BBC News Labs APIs", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"main": "./lib/newsquery.js", | ||
@@ -12,0 +12,0 @@ "keywords": [ |