Log first change exception

This commit is contained in:
bao-qian
2016-05-15 17:03:06 +01:00
parent 87497d2d09
commit cf9c41f437
20 changed files with 92 additions and 71 deletions

View File

@@ -118,7 +118,7 @@ namespace Wox.Plugin.PluginManagement
catch (WebException e)
{
Log.Warn("Can't connect to Wox plugin website, check your conenction");
Log.Error(e);
Log.Exception(e);
return new List<Result>();
}
List<WoxPluginResult> searchedPlugins;
@@ -129,7 +129,7 @@ namespace Wox.Plugin.PluginManagement
catch(JsonSerializationException e)
{
context.API.ShowMsg("Coundn't parse api search results", "Please update your Wox!", string.Empty);
Log.Error(e);
Log.Exception(e);
return results;
}
@@ -164,7 +164,7 @@ namespace Wox.Plugin.PluginManagement
var info = "download plugin " + r.name + "failed.";
MessageBox.Show(info);
Log.Warn(info);
Log.Error(e);
Log.Exception(e);
return false;
}
context.API.InstallPlugin(filePath);