Temporary fix for plugin panic

Fixes #402
This commit is contained in:
Zachary Yedidia
2016-10-07 20:34:03 -04:00
parent 6acda994e4
commit 38bf8c0225
2 changed files with 3 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ func (pc PluginChannels) Fetch() PluginPackages {
// Fetch retrieves all available PluginPackages from the given channel
func (pc PluginChannel) Fetch() PluginPackages {
messenger.AddLog(fmt.Sprintf("Fetching channel: %q", string(pc)))
// messenger.AddLog(fmt.Sprintf("Fetching channel: %q", string(pc)))
resp, err := http.Get(string(pc))
if err != nil {
TermMessage("Failed to query plugin channel:\n", err)
@@ -141,7 +141,7 @@ func (pc PluginChannel) Fetch() PluginPackages {
// Fetch retrieves all available PluginPackages from the given repository
func (pr PluginRepository) Fetch() PluginPackages {
messenger.AddLog(fmt.Sprintf("Fetching repository: %q", string(pr)))
// messenger.AddLog(fmt.Sprintf("Fetching repository: %q", string(pr)))
resp, err := http.Get(string(pr))
if err != nil {
TermMessage("Failed to query plugin repository:\n", err)