mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-10 21:38:04 -05:00
* better error messages (for the n00bz)
This commit is contained in:
parent
ac286d44ce
commit
43eb696e7b
@ -707,8 +707,9 @@ public class MediaBindingBean {
|
|||||||
|
|
||||||
private void checkMediaFile() throws RuntimeException {
|
private void checkMediaFile() throws RuntimeException {
|
||||||
// make sure file is not null, and that it is an existing file
|
// make sure file is not null, and that it is an existing file
|
||||||
if (mediaFile == null)
|
if (mediaFile == null) {
|
||||||
throw new RuntimeException("Invalid media file: " + mediaFile);
|
throw new RuntimeException("Path to media file has not been set");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private synchronized MediaInfo getMediaInfo() {
|
private synchronized MediaInfo getMediaInfo() {
|
||||||
|
Loading…
Reference in New Issue
Block a user