Skip to content

Commit 130033c

Browse files
Jack251970Copilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
1 parent c293a27 commit 130033c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private static unsafe HBITMAP GetHBitmapForUrlFile(string fileName, int width, i
135135
var iconPath = urlSection?["IconFile"];
136136
if (string.IsNullOrEmpty(iconPath))
137137
{
138-
throw new FileNotFoundException();
138+
throw new FileNotFoundException("Icon file not specified in Internet shortcut (.url) file.");
139139
}
140140
hBitmap = GetHBitmap(Path.GetFullPath(iconPath), width, height, options);
141141
}

0 commit comments

Comments
 (0)