       @removePlugin(plugin)
       yield Promise.promisify(npm.commands.uninstall)([plugin.packageName])
     catch error
-      console.log "uninstallPlugin error: #{error}"
-      console.log error.stack
+      console.error error
       throw error
 
   # enable one plugin

        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

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