This commit is contained in:
Reinhard Pointner 2014-01-21 19:08:55 +00:00
parent afe59c4117
commit 5c2de5c7b3
2 changed files with 2 additions and 3 deletions

View File

@ -128,8 +128,6 @@ public class ArgumentProcessor {
} catch (Throwable e) {
if (e.getClass() == Exception.class) {
CLILogger.log(Level.SEVERE, String.format("%s: %s", getRootCause(e).getClass().getSimpleName(), getRootCauseMessage(e)));
} else if (e.getClass() == IllegalArgumentException.class) {
CLILogger.log(Level.SEVERE, String.format("%s: %s", getRootCause(e).getClass().getSimpleName(), String.format("%s %s", getRootCauseMessage(e), args.getArray())));
} else {
CLILogger.log(Level.SEVERE, String.format("%s: %s", getRootCause(e).getClass().getSimpleName(), getRootCauseMessage(e)), getRootCause(e));
}

View File

@ -74,6 +74,7 @@
^More$
^Movie$
^Movies$
^Multimedia$
^Musique$
^mynas$
^new$
@ -83,7 +84,6 @@
^private$
^public$
^pyload$
^Multimedia$
^Qmultimedia$
^queue$
^raid$
@ -102,6 +102,7 @@
^staging$
^Storage$
^Stuff$
^sync$
^System$
^tank$
^TBR$