Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
holger committed Feb 27, 2015
2 parents 99c46b6 + 02b784f commit fdea747
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/info/movito/themoviedbapi/TmdbApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ public TmdbApi(String apiKey, UrlReader urlReader) {

try {
tmdbConfig = new TmdbConfig(this).getConfig().getTmdbConfiguration();
} catch(MovieDbException ex) {
throw ex;
} catch (Throwable ex) {
throw new MovieDbException("Failed to read configuration", ex);
throw new MovieDbException("Failed to read configuration", ex);
}
}

Expand Down

0 comments on commit fdea747

Please sign in to comment.