Best to make it fail completely if one episode list of possible matches fails to download
This commit is contained in:
parent
e10d2ffd9e
commit
3768f656ef
|
@ -293,7 +293,7 @@ public class CmdlineOperations implements CmdlineInterface {
|
||||||
CLILogger.fine(format("Fetching episode data for [%s]", it.getName()));
|
CLILogger.fine(format("Fetching episode data for [%s]", it.getName()));
|
||||||
episodes.addAll(db.getEpisodeList(it, sortOrder, locale));
|
episodes.addAll(db.getEpisodeList(it, sortOrder, locale));
|
||||||
} catch (IOException e) {
|
} 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue