Merge pull request #7876 from deathbeam/twitter-service-no-not-throw

Log only exception message on feed lookup failures
This commit is contained in:
Tomas Slusny
2019-02-17 03:11:29 +00:00
committed by GitHub

View File

@@ -71,7 +71,7 @@ public class FeedController
} }
catch (IOException e) catch (IOException e)
{ {
log.warn(null, e); log.warn(e.getMessage());
} }
try try
@@ -80,7 +80,7 @@ public class FeedController
} }
catch (IOException e) catch (IOException e)
{ {
log.warn(null, e); log.warn(e.getMessage());
} }
try try
@@ -89,7 +89,7 @@ public class FeedController
} }
catch (IOException e) catch (IOException e)
{ {
log.warn(null, e); log.warn(e.getMessage());
} }
feedResult = new FeedResult(items); feedResult = new FeedResult(items);