This commit is contained in:
yumoqing 2026-07-17 11:03:42 +08:00
parent 8972085696
commit 68eff9086b

View File

@ -174,7 +174,10 @@ class WechatGateway(Gateway):
"Content-Type": "application/json"
}) as resp:
ret = await resp.json()
debug(f'{ret=}')
url = ret.get("h5_url")
if url is None:
e = Exception(f'{ret=} error')
raise e
return ret.get("h5_url")
except Exception as e:
exception(f'{e}, {url=}, {body_str=}, {auth=}')