CruGlobal/mpdx — pull request #172 by draffensperger (2014-11-05 02:22:43+00:00)
Title: Display message in accounts view (not error) when Google auth expired

Because the Google import in `/accounts` displays a list of Google contacts groups, it calls the Google contacts API and so can run into an error if the Google login needs to be refreshed. Rather than present the user with an error page, check for that case and then display a helpful message.

The user would get an email as well, but in the majority of cases I'd guess that the Google login will expire on a background job not when they visit `/accounts` so it makes sense to send the email.