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

Simplify error messages

This commit is contained in:
Reinhard Pointner 2018-08-17 11:40:36 +07:00
parent 1a7e7b06c3
commit 5681d103fa

View File

@ -17,7 +17,7 @@ public enum LicenseModel {
throw new LicenseError("Desktop Bridge not found");
}
} catch (Exception e) {
throw new IllegalStateException(e);
throw new LicenseError(e.getMessage());
}
return "Microsoft Store License";
@ -35,7 +35,7 @@ public enum LicenseModel {
throw new LicenseError("Mac App Sandbox not found");
}
} catch (Exception e) {
throw new IllegalStateException(e);
throw new LicenseError(e.getMessage());
}
return "Mac App Store License";