From 8730a5fce8079a955a98533307c8c91383ce1f95 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Wed, 9 Apr 2025 18:10:44 +0800 Subject: [PATCH] Improve log message --- Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs b/Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs index d240ac9be..eda016d94 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs @@ -122,7 +122,7 @@ namespace Flow.Launcher.Core.Plugin } catch (Exception e) { - Context.API.LogException(nameof(JsonRPCPluginV2), "Failed to call reload_data", e); + Context.API.LogException(nameof(JsonRPCPluginV2), $"Failed to call reload_data for plugin {Context.CurrentPluginMetadata.Name}", e); } } @@ -140,7 +140,7 @@ namespace Flow.Launcher.Core.Plugin } catch (Exception e) { - Context.API.LogException(nameof(JsonRPCPluginV2), "Failed to call close", e); + Context.API.LogException(nameof(JsonRPCPluginV2), $"Failed to call close for plugin {Context.CurrentPluginMetadata.Name}", e); } finally {