Error handling for twitter and news