1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-03-09 22:09:47 -04:00

Simplify license error messages

This commit is contained in:
Reinhard Pointner 2018-06-20 02:13:54 +07:00
parent 9abbeec248
commit 84bce0c86d

View File

@ -36,9 +36,9 @@ public class ArgumentProcessor {
log.finest("Done ヾ(@⌒ー⌒@)");
return 0;
} catch (LicenseError e) {
log.severe(format("License Error: %s", e.getMessage()));
log.severe("License Error: " + e.getMessage());
if (LICENSE.isFile()) {
log.info(format("%n%s %s requires a valid license:%n%n=> %s%n%nPlease run `filebot --license *.psm` to install your FileBot license.%n", getApplicationName(), getApplicationVersion(), getPurchaseURL()));
log.severe("FileBot requires a valid license. Please run `filebot --license *.psm` to install your FileBot license.");
}
return 2;
} catch (Throwable e) {