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

* more human-readable error messages

This commit is contained in:
Reinhard Pointner 2011-11-20 18:57:30 +00:00
parent 0fa092b7ef
commit 06af0e6648

View File

@ -96,7 +96,7 @@ public class ArgumentProcessor {
CLILogger.finest("Done ヾ(@⌒ー⌒@)"); CLILogger.finest("Done ヾ(@⌒ー⌒@)");
return 0; return 0;
} catch (Exception e) { } catch (Exception e) {
CLILogger.severe(e.toString()); CLILogger.severe(String.format("%s: %s", e.getClass().getSimpleName(), e.getMessage()));
CLILogger.finest("Failure (°_°)"); CLILogger.finest("Failure (°_°)");
return -1; return -1;
} }