Improve logging for PT Run (#6800)

* init code pass

* adjusting tabbing for readabilty

* few small adjustments
This commit is contained in:
Clint Rutkas
2020-09-23 16:32:06 -07:00
committed by GitHub
parent dafc1e0c7d
commit b071220b6c
35 changed files with 186 additions and 289 deletions

View File

@@ -88,7 +88,7 @@ namespace Microsoft.Plugin.Indexer
}
catch (Exception ex)
{
Log.Exception("Microsoft.Plugin.Indexer", $"Unable to launch Windows Search Settings: {ex.Message}", ex, "Query");
Log.Exception($"Unable to launch Windows Search Settings: {ex.Message}", ex, GetType());
}
return true;
@@ -163,7 +163,7 @@ namespace Microsoft.Plugin.Indexer
}
catch (Exception ex)
{
Log.Info(ex.ToString());
Log.Exception("Something failed", ex, GetType());
}
}
}