Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sishen opened this issue May 8, 2009 · 1 comment
Open

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

sishen opened this issue May 8, 2009 · 1 comment
Labels

Comments

@sishen
Copy link

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
Copy link
Owner

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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants