mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
Improve logging for PT Run (#6800)
* init code pass * adjusting tabbing for readabilty * few small adjustments
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user