程序崩溃
Closed this issue · 4 comments
JImumu commented
错误信息如下:
(node:2200) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Request failed with status code 504
(node:2200) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
rocka commented
这个错误是在做什么的时候出现的?能不能贴一下日志的上下文?
JImumu commented
错误大概出现在登录后的20个小时
这是错误信息的上一条日志
[Mon Mar 26 2018 09:42:18 GMT+0800 (**标准时间)] INFO 保存 Cookie 到 C:\Users
ADMINI~1\AppData\Local\Temp\2\qq-bot.cookie
JImumu commented
猜测是某条request 504,然后Unhandled promise rejections are deprecated