mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
exception message propagation
This commit is contained in:
@@ -48,7 +48,7 @@ public class FeedFetcher {
|
||||
String content = EntityUtils.toString(entity, "UTF-8");
|
||||
feed = parser.parse(feedUrl, content);
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
throw new RuntimeException(e.getMessage(), e);
|
||||
} finally {
|
||||
httpclient.getConnectionManager().shutdown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user