We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fd0ca8 commit f1c6e34Copy full SHA for f1c6e34
uapis_extension/__init__.py
@@ -191,4 +191,5 @@ async def get_hypixel_info(command, userid):
191
return await response.json()
192
except (ClientError, asyncio.TimeoutError) as e:
193
logger.error(f"请求错误: {e}")
194
- return "请求出错!具体信息:" + str(e)
+ msg = str(e.message) # 兼顾低版本Python
195
+ return "请求出错!错误信息:" + msg
0 commit comments