mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 20:57:22 +02:00
Rewrite all log message format
This commit is contained in:
@@ -26,10 +26,8 @@ namespace Wox.Plugin.WebSearch.SuggestionSources
|
||||
}
|
||||
catch (WebException e)
|
||||
{
|
||||
Log.Warn("Can't get suggestion from baidu");
|
||||
Log.Exception(e);
|
||||
Log.Exception("|Baidu.Suggestions|Can't get suggestion from baidu", e);
|
||||
return new List<string>();
|
||||
;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(result)) return new List<string>();
|
||||
@@ -43,7 +41,7 @@ namespace Wox.Plugin.WebSearch.SuggestionSources
|
||||
}
|
||||
catch (JsonSerializationException e)
|
||||
{
|
||||
Log.Exception(e);
|
||||
Log.Exception("|Baidu.Suggestions|can't parse suggestions", e);
|
||||
return new List<string>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user