If you've logged in with twitter, and you try and post in rstat.us and you have the twitter checkbox checked, but twitter is down, you'll get to a "we're sorry, something went wrong" 500 page.
Instead you should be on the page you normally see when message posting succeeds, since posting to rstat.us worked just fine, and show a flash error that posting to twitter didnt work and twitter might be down.
Working on it. Found Twitter::Error from Twitter Gem. Need to determine how to write minitest spec to simulate Twitter failure.
In progress code @ Feature/issue_552 Branch
Update: More specifically Twitter::Error is a namespace enclosing the more exact errors such as Twitter::Error::ServerError. I'll need to read through these to see what's appropriate to capture in Rstat.us.
Also, hopefully the Twitter gem specs have a decent lead on simulating a Twitter outage for test purposes.
Still intermittently working on it!