mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 05:51:31 -04:00
Simplify error messages
This commit is contained in:
parent
1a7e7b06c3
commit
5681d103fa
@ -17,7 +17,7 @@ public enum LicenseModel {
|
|||||||
throw new LicenseError("Desktop Bridge not found");
|
throw new LicenseError("Desktop Bridge not found");
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new IllegalStateException(e);
|
throw new LicenseError(e.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
return "Microsoft Store License";
|
return "Microsoft Store License";
|
||||||
@ -35,7 +35,7 @@ public enum LicenseModel {
|
|||||||
throw new LicenseError("Mac App Sandbox not found");
|
throw new LicenseError("Mac App Sandbox not found");
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new IllegalStateException(e);
|
throw new LicenseError(e.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
return "Mac App Store License";
|
return "Mac App Store License";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user