diff --git a/src/main/java/io/rapidpro/mage/twitter/TwitterStream.java b/src/main/java/io/rapidpro/mage/twitter/TwitterStream.java index 3b81fb0..829c41f 100644 --- a/src/main/java/io/rapidpro/mage/twitter/TwitterStream.java +++ b/src/main/java/io/rapidpro/mage/twitter/TwitterStream.java @@ -243,6 +243,13 @@ public void onTrackLimitationNotice(int numberOfLimitedStatuses) { super.onTrackLimitationNotice(numberOfLimitedStatuses); } + @Override + public void onException(Exception ex) { + log.error("Exception in Twitter stream", ex); + + super.onException(ex); + } + /** * Background task which fetches potentially missed tweets using the REST API. This happens in a task so the * Twitter Manager can execute all back-fill tasks sequentially, making it easier to respect the Twitter API