mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-25 09:18:51 -05:00
* less clutter in error reporting
This commit is contained in:
parent
a7907feba0
commit
3ad6b1f55d
@ -264,7 +264,7 @@ public class CmdlineOperations implements CmdlineInterface {
|
|||||||
episodes.addAll(db.getEpisodeList(it, sortOrder, locale));
|
episodes.addAll(db.getEpisodeList(it, sortOrder, locale));
|
||||||
Analytics.trackEvent(db.getName(), "FetchEpisodeList", it.getName());
|
Analytics.trackEvent(db.getName(), "FetchEpisodeList", it.getName());
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
CLILogger.log(Level.SEVERE, e.getMessage(), e);
|
CLILogger.log(Level.SEVERE, e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -285,7 +285,7 @@ public class TheTVDBClient extends AbstractEpisodeListProvider {
|
|||||||
try {
|
try {
|
||||||
return resource.getDocument();
|
return resource.getDocument();
|
||||||
} catch (FileNotFoundException e) {
|
} catch (FileNotFoundException e) {
|
||||||
throw new IllegalArgumentException("Resource not found: " + getResourceURL(mirrorType, path)); // simplify error message
|
throw new FileNotFoundException("Resource not found: " + getResourceURL(mirrorType, path)); // simplify error message
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user