handle generic exception in UpdateProfilePhoto