mozilla/fxa-auth-server — pull request #626 by dannycoates (2014-03-17 20:13:23+00:00)
Title: translate ER_DUP_ENTRY on account create

Concurrent `/account/create` requests will race to write to the db. Instead of surfacing the error as a 500, it should be a normal account exists error.

Note to self, audit endpoints for other concurrent errors that could be nicer.

Fixes #625