Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jack Ye 2025-09-23 12:22:46 +08:00 committed by GitHub
parent c293a273ca
commit 130033cf4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}