rthomasv3 / Scum-Bag

Scum Bag is an all-in-one save manager for all your characters and games.
5 stars 2 forks source link

Backups list not updating when deletion of old backups fails #6

Closed rthomasv3 closed 4 months ago

rthomasv3 commented 4 months ago

Copied from bug on nexus: https://www.nexusmods.com/dragonsdogma2/mods/269?tab=bugs

[Error]: BackupService>CreateBackup - System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Games\Scum Bag SaveManager\Saves\40c22ed8-5c54-49da-951b-d5f59691cfcd\638505237652465885'.
   at System.IO.FileSystem.GetFindData(String fullPath, Boolean isDirectory, Boolean ignoreAccessDenied, WIN32_FIND_DATA& findData)
   at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
   at Scum_Bag.Services.BackupService.CreateBackup(Guid id)
[Error]: BackupService>CreateBackup - System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Games\Scum Bag SaveManager\Saves\40c22ed8-5c54-49da-951b-d5f59691cfcd\638505240052578477'.
   at System.IO.FileSystem.GetFindData(String fullPath, Boolean isDirectory, Boolean ignoreAccessDenied, WIN32_FIND_DATA& findData)
   at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
   at Scum_Bag.Services.BackupService.CreateBackup(Guid id)