1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

Improve error logging when renaming fails due to permission issues

This commit is contained in:
Reinhard Pointner 2017-01-28 04:27:21 +08:00
parent ee96df22f5
commit 3fee8bed74

View File

@ -623,7 +623,7 @@ public class CmdlineOperations implements CmdlineInterface {
log.info(format("Skipped [%s] because [%s] already exists", source, destination)); log.info(format("Skipped [%s] because [%s] already exists", source, destination));
} }
} catch (IOException e) { } catch (IOException e) {
log.warning(format("[%s] Failed to rename [%s]", renameAction, it.getKey())); log.warning(format("[%s] Failed to rename [%s] due to [%s]", renameAction, it.getKey(), e));
throw e; throw e;
} }
} }