             plugin.displayName = pluginMain.displayName if pluginMain.displayName?
             plugin.priority = pluginMain.priority if plugin.priority == 10000 && pluginMain.priority?
           catch error
-            console.log error
-            console.log error.stack
+            console.error error
             pluginMain = isBroken: true
           _.extend pluginMain, @plugins_[index]
           pluginMain.isRead ?= false

        plugin.displayName = pluginMain.displayName if pluginMain.displayName?
        plugin.priority = pluginMain.priority if plugin.priority == 10000 && pluginMain.priority?
      catch error
        console.log error
        console.log error.stack
        pluginMain = isBroken: true
      _.extend pluginMain, plugin
      plugin = pluginMain

      @removePlugin(plugin)
      yield Promise.promisify(npm.commands.uninstall)([plugin.packageName])
    catch error
      console.error error
      throw error

  # enable one plugin
