Merge pull request #3146 from InfinityPacer/feature/module

chore(qbittorrent): update qbittorrent-api to version 2024.11.69
This commit is contained in:
jxxghp
2024-11-17 15:59:43 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ class Qbittorrent:
try:
qbt.auth_log_in()
except (qbittorrentapi.LoginFailed, qbittorrentapi.Forbidden403Error) as e:
logger.error(f"qbittorrent 登录失败:{str(e)}")
logger.error(f"qbittorrent 登录失败:{str(e).strip() or '请检查用户名和密码是否正确'}")
return None
except Exception as e:
stack_trace = "".join(traceback.format_exception(None, e, e.__traceback__))[:2000]