diff --git a/lib/package.js b/lib/package.js index d931482..b5b040d 100644 --- a/lib/package.js +++ b/lib/package.js @@ -184,7 +184,7 @@ function build(appDirectory, jar, appId, profileTag, formDataExtra, options) { return Q.reject('Selected security profile does not have credentials for the selected platform.'); } }, function(err) { - logging.logger.error(err); + return Q.reject(err); }); }