…atch the crash and move on with life.
… missing, try adding it again (since the account will have been created and marked master)
…unmodified json object. On clean installations, when creating the first account, there is obviously no master account id yet. This causes a crash in wh_reseller when setting the pvt fields on the new account. Chicken/egg problem. So catch the crash, log it, and continue with the unmodified json object. Perhaps it should finishing saving the first account and retry the setting of service plans?
…p the db check on first occurance if the db isnt known, and revert the change to process outbound CID as e164
…db to make sure db is in place before uploading ratedeck