bugfix
This commit is contained in:
parent
8972085696
commit
68eff9086b
@ -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=}')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user