Correctly reject promise when failing
Correctly reject promise when failing

shazron/cordova-lib,shazron/cordova-lib,apache/cordova-lib,shazron/cordova-lib,shazron/cordova-lib,apache/cordova-lib,shazron/cordova-lib,apache/cordova-lib,apache/cordova-lib,apache/cordova-lib,shazron/cordova-lib