Skip to content

Commit 8730a5f

Browse files
committed
Improve log message
1 parent d3fdd99 commit 8730a5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher.Core/Plugin/JsonRPCPluginV2.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public virtual async Task ReloadDataAsync()
122122
}
123123
catch (Exception e)
124124
{
125-
Context.API.LogException(nameof(JsonRPCPluginV2), "Failed to call reload_data", e);
125+
Context.API.LogException(nameof(JsonRPCPluginV2), $"Failed to call reload_data for plugin {Context.CurrentPluginMetadata.Name}", e);
126126
}
127127
}
128128

@@ -140,7 +140,7 @@ public virtual async ValueTask DisposeAsync()
140140
}
141141
catch (Exception e)
142142
{
143-
Context.API.LogException(nameof(JsonRPCPluginV2), "Failed to call close", e);
143+
Context.API.LogException(nameof(JsonRPCPluginV2), $"Failed to call close for plugin {Context.CurrentPluginMetadata.Name}", e);
144144
}
145145
finally
146146
{

0 commit comments

Comments
 (0)