Fix error handling in paste_tweet