mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
Log first change exception
This commit is contained in:
@@ -29,7 +29,7 @@ namespace Wox.Plugin.WebSearch.SuggestionSources
|
||||
catch (WebException e)
|
||||
{
|
||||
Log.Warn("Can't get suggestion from baidu");
|
||||
Log.Error(e);
|
||||
Log.Exception(e);
|
||||
return new List<string>(); ;
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace Wox.Plugin.WebSearch.SuggestionSources
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
Log.Error(e);
|
||||
Log.Exception(e);
|
||||
return new List<string>();
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Wox.Plugin.WebSearch.SuggestionSources
|
||||
catch (WebException e)
|
||||
{
|
||||
Log.Warn("Can't get suggestion from google");
|
||||
Log.Error(e);
|
||||
Log.Exception(e);
|
||||
return new List<string>(); ;
|
||||
}
|
||||
if (string.IsNullOrEmpty(result)) return new List<string>();
|
||||
@@ -35,7 +35,7 @@ namespace Wox.Plugin.WebSearch.SuggestionSources
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
Log.Error(e);
|
||||
Log.Exception(e);
|
||||
return new List<string>();
|
||||
}
|
||||
if (json != null)
|
||||
|
||||
Reference in New Issue
Block a user