搜索
查看: 50|回复: 1
收起左侧

报错

[复制链接]
admin 发表于 2024-3-26 15:11:49 | 显示全部楼层 |阅读模式
下面报错帮我翻译一下

[              STDERR] (node:9580) UnhandledPromiseRejectionWarning: Error: aesxadmin was unable to execute a query!
[              STDERR] Table 'jqd3.bans' doesn't exist
[              STDERR] SELECT * FROM bans WHERE license = ? ["license:932d7046747c2b530b5fadeadca36f517ccf90b5"]
[              STDERR]     at @oxmysql/dist/build.js:22275:11
[              STDERR]     at processTicksAndRejections (node:internal/process/task_queues:96:5)
[              STDERR] (Use `FXServer --trace-warnings ...` to show where the warning was created)
[              STDERR] (node:9580) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[ citizen-server-impl] Server list query returned an error: System.Threading.Tasks.TaskCanceledException: A task was canceled. <- System.TimeoutException: A task was canceled. <- System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing.
[ citizen-server-impl] Server list query returned an error: System.Threading.Tasks.TaskCanceledException: A task was canceled. <- System.TimeoutException: A task was canceled. <- System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing.

[发帖际遇]: admin 捡了钱没交公 贡献 降了 4 . 幸运榜 / 衰神榜
回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-3-26 15:11:54 | 显示全部楼层
这个错误信息表示在执行查询时遇到了问题。具体的错误是表 'bans' 不存在。查询语句为 "SELECT * FROM bans WHERE license = ?"。该错误位于文件 @oxmysql/dist/build.js 的第22275行。

提示中提到了未处理的promise rejection警告。这可能是因为在一个async函数内抛出了异常,但没有相应的catch块来处理异常,或者是因为拒绝的promise没有使用.catch()方法进行处理。你可以使用CLI标志`--unhandled-rejections=strict`来终止未处理的promise rejection。

最后一行提到了一个Server list query returned an error错误,大概是由于任务被取消导致的。
回复

使用道具 举报

ahome_bigavatar:guest
ahome_bigavatar:welcomelogin
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|首页 ( 冀ICP备2021005225号-1 ) |网站地图

GMT+8, 2024-5-20 16:43 , Processed in 0.245066 second(s), 27 queries .

Powered by Discuz! X3.4

© 2001-2013 ELITE论坛【技术无价-分享快乐】

快速回复 返回顶部 返回列表