1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-25 17:28:51 -05:00

* less clutter in error reporting

This commit is contained in:
Reinhard Pointner 2013-10-21 02:30:11 +00:00
parent a7907feba0
commit 3ad6b1f55d
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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
} }
} }