Ionic check for Updates not returning error

Hi,

when running the following lines of code without an internet connection

$ionicDeploy.check().then(function(hasUpdate) {
console.log(‘checked for updates’);
}, function(err) {
console.error(‘error’);
});

the response would be ‘checked for updates’, although actually checking for updates was impossible as no internet connection was available.

Would anyone no why the error callback isn’t called instead?