I have the following code:
firebase.get(ref)
.then(function(data){
//stuff
})
.fail(function(err){
console.log('ERROR: ', err);
});
When I run this with a number of queries, atleast once it fails and I get ERROR: { [Error: socket hang up] code: 'ECONNRESET' }
Any ideas why?
Thanks!