alphagov/support — pull request #26 by benilovj (2012-12-12 11:14:41+00:00)
Title: Better handling of zendesk errors

A successful submission of a "create new user" request triggers:
1) creation of a Zendesk ticket for the request
2) creation (or update) of a Zendesk user for the requested user.

As it stands, if automatic user creation goes wrong in Zendesk, the user gets a 500, even if the Zendesk ticket has been successfully raised.
With this pull request, an error upon user creation is raised through the ExceptionNotifier and the user doesn't see a 500.