debug(f'{params_kw=}') db = DBPools() dbname = get_module_dbname('rbac') async with db.sqlorContext(dbname) as sor: orgid = await register_user(sor, params_kw) try: ownerid = await get_owner_orgid(sor, orgid) await openCustomerAccounts(sor, ownerid, orgid) except Exception as e: exception(f'{e}') return UiMessage(title="Success", message="register success") return UiError(title='Error', message="register failed")