diff --git a/PKHeX.WinForms/MainWindow/Main.cs b/PKHeX.WinForms/MainWindow/Main.cs index 99330f53e..5dce80805 100644 --- a/PKHeX.WinForms/MainWindow/Main.cs +++ b/PKHeX.WinForms/MainWindow/Main.cs @@ -824,7 +824,17 @@ private static bool TryBackupExportCheck(SaveFile sav, string path) { var src = sav.Metadata.FilePath; if (src is { } x && File.Exists(x)) - File.Copy(x, backupName); + { + try + { + File.Copy(x, backupName); + } + catch (Exception ex) + { + WinFormsUtil.Error(MsgBackupUnable, ex); + return false; + } + } } if (!FileUtil.IsFileLocked(path)) return true;