diff --git a/src/core/core.js b/src/core/core.js index 20d589b5..92640eb6 100644 --- a/src/core/core.js +++ b/src/core/core.js @@ -66,13 +66,17 @@ class Core { * @returns {Promise} */ prepare(file) { - return Promise.all([this.readConfigFile(file), this.plugins.init()]).then( + return Promise.all([ + this.readConfigFile(file), + this.plugins.init().catch(e => errors.toUser(e, "initializing plugins")), + ]).then( () => { if (this.props.config) { this.selectOs(); } else { const wait = this.plugins .wait() + .catch( e => errors.toUser(e, "plugin wait()")) .then(device => api.resolveAlias(device)) .catch( e =>