log any errors that occur while publishing a tweet.