Skip to content

Renaming silently fails #172

@GiovanH

Description

@GiovanH

When renaming files, there's some sort of unspecified IO error.

The log catches the error, but the GUI just says "Done".


2020-06-23 19:47:18.682 [INFO]    Started to autorename eshop files.
2020-06-23 19:47:18.724 [INFO]    Old name: Mario Kart 8 Deluxe.nsp. New name: Mario Kart 8 Deluxe [0100152000022000][v0].nsp
2020-06-23 19:47:18.755 [ERROR]   Failed to rename file.
   at Microsoft.VisualBasic.FileIO.FileSystem.CopyOrMoveFile(CopyOrMove operation, String sourceFileName, String destinationFileName, Boolean overwrite, UIOptionInternal showUI, UICancelOption onUserCancel)
   at Switch_Backup_Manager.Util.AutoRenameXCIFile(FileData file)
2020-06-23 19:47:18.819 [INFO]    Finished autorenaming eshop files.

At the very least the exception should give more details as to the specific issue encountered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions