We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ec75ba commit 4cfe280Copy full SHA for 4cfe280
1 file changed
QuestAppVersionSwitcher/FolderPermission.cs
@@ -53,10 +53,15 @@ public static string RemapPathForApi300OrAbove(string path)
53
54
public static void Copy(string from, string to)
55
{
56
- Stream file = GetOutputStream(to);
57
- file.Write(File.ReadAllBytes(from));
58
- file.Close();
59
- file.Dispose();
+ try
+ {
+ Stream file = GetOutputStream(to);
+ file.Write(File.ReadAllBytes(from));
60
+ file.Close();
61
+ } catch (Exception e)
62
63
+ ComputerUtils.Android.Logging.Logger.Log(e.ToString());
64
+ }
65
}
66
67
public static void CreateDirectory(string dir)
0 commit comments