Skip to content

Commit 4f24646

Browse files
committed
Fix build issue
1 parent ab34e83 commit 4f24646

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Flow.Launcher.Infrastructure/Image/ImageLoader.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ private static ImageResult GetThumbnailResult(ref string path, bool loadFullImag
243243
{
244244
image = Image;
245245
type = ImageType.Error;
246-
Log.Exception($"Failed to load image file from path {path}: {ex.Message}", ex);
246+
API.LogException(ClassName, $"Failed to load image file from path {path}: {ex.Message}", ex);
247247
}
248248
}
249249
else
@@ -267,7 +267,7 @@ private static ImageResult GetThumbnailResult(ref string path, bool loadFullImag
267267
{
268268
image = Image;
269269
type = ImageType.Error;
270-
Log.Exception($"Failed to load SVG image from path {path}: {ex.Message}", ex);
270+
API.LogException(ClassName, $"Failed to load SVG image from path {path}: {ex.Message}", ex);
271271
}
272272
}
273273
else

Plugins/Flow.Launcher.Plugin.Program/Main.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ public class Main : ISettingProvider, IAsyncPlugin, IPluginI18n, IContextMenu, I
3232

3333
internal static PluginInitContext Context { get; private set; }
3434

35-
private static readonly string ClassName = nameof(Main);
36-
3735
private static readonly List<Result> emptyResults = new();
3836

3937
private static readonly MemoryCacheOptions cacheOptions = new() { SizeLimit = 1560 };

0 commit comments

Comments
 (0)