When a user tries to update their profile with an email address that is already assigned to another user, it gives a generic 500 error. Need to update to show an error page explaining the issue and (potentially) reveal which user already has that email address. This should be a rare occasion but I ran into it when trying to update my profile to have my personal email, only to realize after hunting through the error logs that I had assigned it to the Clara Barton account (which is used for some system processes).
When a user tries to update their profile with an email address that is already assigned to another user, it gives a generic 500 error. Need to update to show an error page explaining the issue and (potentially) reveal which user already has that email address. This should be a rare occasion but I ran into it when trying to update my profile to have my personal email, only to realize after hunting through the error logs that I had assigned it to the Clara Barton account (which is used for some system processes).