diff --git a/lib/modules/plugin_cmd/index.js b/lib/modules/plugin_cmd/index.js index 778144e1d..b840c51a7 100644 --- a/lib/modules/plugin_cmd/index.js +++ b/lib/modules/plugin_cmd/index.js @@ -43,7 +43,9 @@ class PluginCommand { } ], (err) => { if(err) { - return callback(`Error installing npm package ${npmPackage}. Please visit https://embark.status.im/plugins/ for more info`); + let errorMessage = `Error installing npm package ${npmPackage}. Please visit https://embark.status.im/plugins/ for all supported plugins`; + self.embark.logger.error(errorMessage); + return callback('Error occurred'); } callback(null, `npm package ${npmPackage} successfully installed as a plugin`); });