fix: update miot cloud raise error msg (#551)

This commit is contained in:
Paul Shawn 2025-01-03 19:00:11 +08:00 committed by GitHub
parent 2703d68920
commit da90e099d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -166,7 +166,7 @@ class MIoTOauthClient:
key in res_obj['result']
for key in ['access_token', 'refresh_token', 'expires_in'])
):
raise MIoTOauthError(f'invalid http response, {http_res.text}')
raise MIoTOauthError(f'invalid http response, {res_str}')
return {
**res_obj['result'],