1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 00:38:52 -05:00

Best to make it fail completely if one episode list of possible matches fails to download

This commit is contained in:
Reinhard Pointner 2016-02-23 05:46:54 +00:00
parent e10d2ffd9e
commit 3768f656ef

View File

@ -293,7 +293,7 @@ public class CmdlineOperations implements CmdlineInterface {
CLILogger.fine(format("Fetching episode data for [%s]", it.getName()));
episodes.addAll(db.getEpisodeList(it, sortOrder, locale));
} catch (IOException e) {
CLILogger.log(Level.SEVERE, e.getMessage());
throw new CmdlineException(format("Failed to fetch episode data for [%s]: %s", it, e.getMessage()), e);
}
}
}