Catch the exception while twitter service is under maintaince. #12

sishen opened this Issue May 8, 2009 · 1 comment


None yet
2 participants

sishen commented May 8, 2009

Sometimes twitter is under maintaince and as a result the app can't request the oauth token. We need to do something instead of directly raising the exception to the top, such as catch the exception in the SessionsController#new,

rescue Exception => e
authentication_failed("We're currently experiencing issues with Twitter's OAuth Service. Please try later.") and return


mbleigh commented May 8, 2009

Yeah, I noticed that as well. Will work in a catch for that sometime soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment