Compare commits

...

2 Commits

View File

@@ -207,6 +207,7 @@ namespace Microsoft.Plugin.Program.Programs
{
var appManager = new ApplicationActivationHelper.ApplicationActivationManager();
const ApplicationActivationHelper.ActivateOptions noFlags = ApplicationActivationHelper.ActivateOptions.None;
var type = GetType();
await Task.Run(() =>
{
try
@@ -215,7 +216,7 @@ namespace Microsoft.Plugin.Program.Programs
}
catch (Exception ex)
{
ProgramLogger.Exception($"Unable to launch UWP {DisplayName}", ex, MethodBase.GetCurrentMethod().DeclaringType, queryArguments);
ProgramLogger.Exception($"Unable to launch UWP {DisplayName}", ex, type, queryArguments);
var name = "Plugin: " + Properties.Resources.wox_plugin_program_plugin_name;
var message = $"{Properties.Resources.powertoys_run_plugin_program_uwp_failed}: {DisplayName}";
api.ShowMsg(name, message, string.Empty);