为了能快速了解并处理您的问题,请提供以下基础信息: 问题描述:Nodejs 项目无法设置项目异常告警通知,点击确定按钮后崩溃报错
出错了,面板运行时发生错误!KeyError: 'type'
REQUEST_DATE: 2024-04-25 22:59:53 VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) - 8.1.0 REMOTE_ADDR: 123.185.76.217 REQUEST_URI: POST /push?action=set_push_configREQUEST_FORM: {'id': '1714057205706', 'name': 'site_push', 'data': '{"give":[],"status":true,"interval":1,"count":1,"push_count":1,"cycle":2,"module":"dingding,wx_account"}'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.289 Safari/537.36
Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2422, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2369, in run result = getattr(toObject, get.action)(get) File "class/panelPush.py", line 293, in set_push_config public.set_module_logs('set_push_config', nData['type'])KeyError: 'type'
修复面板无效
|
|