优化代码

This commit is contained in:
rm 2023-12-31 11:01:02 +08:00
parent 5c99ced2cd
commit 993f077377
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ class PtOperation:
return response.text
else:
logger.error(f"{text} , 出现错误code码是{response.status_code}, {response.text}")
return ""
except Exception as e:
time.sleep(2)
else: