We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa99e89 commit 987650aCopy full SHA for 987650a
src/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs
@@ -780,7 +780,8 @@ public static async Task<IEnumerable<IStorageItemWithPath>> GetDraggedStorageIte
780
// https://learn.microsoft.com/windows/win32/shell/clipboard#cf_hdrop
781
if (packageView.Contains("FileDrop"))
782
{
783
- var fileDropData = await packageView.GetDataAsync("FileDrop");
+ var fileDropData = await SafetyExtensions.IgnoreExceptions(
784
+ () => packageView.GetDataAsync("FileDrop").AsTask());
785
if (fileDropData is IRandomAccessStream stream)
786
787
stream.Seek(0);
0 commit comments