katalyst/koi — Issue #1: Exits fails with non-existent or erroneous Google account details
Author: alexkg
Created: 2012-03-06 06:47:29+00:00
State: open

If the `Translation` for site.google_analytics.username etc returns nil, the attempted resolution of the account details fails:

https://github.com/katalyst/koi/blob/master/app/models/exits.rb#L13-16

If they are erroneous, a `Garb::AuthenticationRequest::AuthError` is raised.

This gets caught for `load_google_analytics_session`:

https://github.com/katalyst/koi/blob/master/app/controllers/koi/application_controller.rb#L21

But accessing the Google profile in other areas remains a problem:

https://github.com/katalyst/koi/blob/master/app/views/koi/application/index.html.erb#L68