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
1 changed files with 1 additions and 1 deletions

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);
}
}
}