Reduce -exec failures to warning messages

This commit is contained in:
Reinhard Pointner 2017-05-18 21:28:05 +08:00
parent dc91e4e12e
commit e71eeec842
1 changed files with 5 additions and 1 deletions

View File

@ -649,7 +649,11 @@ public class CmdlineOperations implements CmdlineInterface {
// execute command
if (exec != null) {
try {
execute(renameLog.values(), Objects::nonNull, exec); // destination files may include null values
} catch (Exception e) {
log.warning(message("Execute", e.getMessage()));
}
}
return new ArrayList<File>(renameLog.values());