mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 16:58: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));
|
||||
Analytics.trackEvent(db.getName(), "FetchEpisodeList", it.getName());
|
||||
} 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 {
|
||||
return resource.getDocument();
|
||||
} 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