Reduce -exec failures to warning messages
This commit is contained in:
parent
dc91e4e12e
commit
e71eeec842
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue