forked from Archives/Athou_commafeed
exception message propagation
This commit is contained in:
@@ -48,7 +48,7 @@ public class FeedFetcher {
|
|||||||
String content = EntityUtils.toString(entity, "UTF-8");
|
String content = EntityUtils.toString(entity, "UTF-8");
|
||||||
feed = parser.parse(feedUrl, content);
|
feed = parser.parse(feedUrl, content);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e.getMessage(), e);
|
||||||
} finally {
|
} finally {
|
||||||
httpclient.getConnectionManager().shutdown();
|
httpclient.getConnectionManager().shutdown();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user