From 130033cf4b8f302537c969fba4a4529b2b93f0d2 Mon Sep 17 00:00:00 2001 From: Jack Ye Date: Tue, 23 Sep 2025 12:22:46 +0800 Subject: [PATCH] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs b/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs index 68940ff6a..c942488c4 100644 --- a/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs +++ b/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs @@ -135,7 +135,7 @@ namespace Flow.Launcher.Infrastructure.Image var iconPath = urlSection?["IconFile"]; if (string.IsNullOrEmpty(iconPath)) { - throw new FileNotFoundException(); + throw new FileNotFoundException("Icon file not specified in Internet shortcut (.url) file."); } hBitmap = GetHBitmap(Path.GetFullPath(iconPath), width, height, options); }