腾讯云redis同步云资源报错
niubaoxing opened this issue · 6 comments
你看下后端flask的日志 查看下具体的报错信息.
10:26:02 | ERROR | name 'logger' is not defined
Traceback (most recent call last):
File "/flask/units/cloud/tencent_cloud.py", line 264, in redis
off,on = sync_redis.w2consul('tencent_cloud',account,region,redis_dict)
File "/flask/units/cloud/sync_redis.py", line 74, in w2consul
logger.info(f"{account}:code: 5000, data: {reg.status_code}:{reg.text}")
NameError: name 'logger' is not defined
10:26:05 | ERROR | name 'logger' is not defined
Traceback (most recent call last):
File "/flask/units/cloud/tencent_cloud.py", line 264, in redis
off,on = sync_redis.w2consul('tencent_cloud',account,region,redis_dict)
File "/flask/units/cloud/sync_redis.py", line 74, in w2consul
logger.info(f"{account}:code: 5000, data: {reg.status_code}:{reg.text}")
NameError: name 'logger' is not defined
172.21.0.3 - - [13/Nov/2023 10:26:05] "POST /api/jobs HTTP/1.0" 200 -
hello 这个是程序逻辑问题吗
hello 这个是程序逻辑问题吗
是有个bug
1.0.3 修复了这个bug
请直接更新 docker-compose pull && docker-compose up -d