Closed github-h closed 1 year ago
20230228
Linux
Docker/Linux 64位
在模板中添加 IF 的判断语句 模板运行出错 查看日志
这里是报错的日志
模板实际为这个
可以看到 总请求数13是对上了 但是4却对不上
No response
[I 230317 10:01:36 tornado.access web:2271] 200 GET /util/delay/30 (127.0.0.1) 29910.40ms [I 230317 10:01:36 tornado.access web:2271] 200 POST /util/urldecode (127.0.0.1) 1.60ms [I 230317 10:01:36 qiandao.Worker worker:231] taskid:11 tplid:13 successed! 0.61123s [I 230317 10:01:36 qiandao.Worker worker:234] taskid:11 tplid:13 clear log. [I 230317 10:01:59 qiandao.Worker worker:289] Last 60 seconds, 1 task done. 1 success, 0 failed [I 230317 10:02:07 tornado.access web:2271] 200 GET /util/delay/60 (127.0.0.1) 29903.67ms [E 230317 10:02:10 qiandao.Worker worker:267] taskid:12 tplid:14 failed! 65.7732s Failed at 4/13 request, Fail assert: {"re": "class=\"swal2-confirm swal2-styled\" >立刻签到</button></div", "from": "content"} from failed_asserts, Request URL: https://www.tiangal.com/sign.html [I 230317 10:02:59 qiandao.Worker worker:289] Last 60 seconds, 1 task done. 0 success, 1 failed [I 230317 10:09:16 tornado.access web:2271] 200 GET /util/delay/29 (127.0.0.1) 29005.49ms [I 230317 10:09:17 tornado.access web:2271] 200 POST /util/urldecode (127.0.0.1) 2.48ms [I 230317 10:09:17 qiandao.Worker worker:231] taskid:3 tplid:4 successed! 30.98199s [I 230317 10:09:17 qiandao.Worker worker:234] taskid:3 tplid:4 clear log. [I 230317 10:09:59 qiandao.Worker worker:289] Last 60 seconds, 1 task done. 1 success, 0 failed [I 230317 10:12:42 tornado.access web:2271] 200 GET /util/delay/30 (127.0.0.1) 29904.45ms [I 230317 10:13:13 tornado.access web:2271] 200 GET /util/delay/60 (127.0.0.1) 29908.53ms [E 230317 10:13:14 qiandao.Worker worker:267] taskid:12 tplid:14 failed! 64.4304s Failed at 4/13 request, Fail assert: {"re": "class=\"swal2-confirm swal2-styled\" >立刻签到</button></div", "from": "content"} from failed_asserts, Request URL: https://www.tiangal.com/sign.html [I 230317 10:13:59 qiandao.Worker worker:289] Last 60 seconds, 1 task done. 0 success, 1 failed
希望报错日志的显示顺序能按实际的顺序对上
能对IF或者For等逻辑语句的插入做序号的适配
Verify steps
QianDao Version
20230228
Bug on OS
Linux
Bug on Platform
Docker/Linux 64位
To Reproduce
在模板中添加 IF 的判断语句 模板运行出错 查看日志
Describe the Bug
这里是报错的日志
模板实际为这个
可以看到 总请求数13是对上了 但是4却对不上
QianDao config
No response
QianDao log
Expected behavior
希望报错日志的显示顺序能按实际的顺序对上
能对IF或者For等逻辑语句的插入做序号的适配
Screenshots
No response