diff --git a/source/net/filebot/cli/ArgumentBean.java b/source/net/filebot/cli/ArgumentBean.java index 11f761d3..d9340044 100644 --- a/source/net/filebot/cli/ArgumentBean.java +++ b/source/net/filebot/cli/ArgumentBean.java @@ -154,7 +154,7 @@ public class ArgumentBean { try { file = file.getCanonicalFile(); } catch (Exception e) { - Logger.getLogger(getClass().getName()).log(Level.WARNING, e.getMessage()); + Logger.getLogger(getClass().getName()).log(Level.WARNING, String.format("Illegal Argument: %s (%s)", e, argument)); } if (resolveFolders && file.isDirectory()) {