显示更详细的报错
This commit is contained in:
parent
57643dd2b6
commit
9f8e7a6efa
@ -143,7 +143,7 @@ class NewBingHandle(Process):
|
|||||||
asyncio.run(self.async_run())
|
asyncio.run(self.async_run())
|
||||||
except Exception:
|
except Exception:
|
||||||
tb_str = '\n```\n' + trimmed_format_exc() + '\n```\n'
|
tb_str = '\n```\n' + trimmed_format_exc() + '\n```\n'
|
||||||
self.child.send(f'[Local Message] Newbing失败 {tb_str}.')
|
self.child.send(f'[Local Message] Newbing 请求失败,报错信息如下. 如果是与网络相关的问题,建议更换代理协议(推荐http)或代理节点 {tb_str}.')
|
||||||
self.child.send('[Fail]')
|
self.child.send('[Fail]')
|
||||||
self.child.send('[Finish]')
|
self.child.send('[Finish]')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user