diff --git a/UPDATE.md b/UPDATE.md index 3b3c814d..348c98de 100644 --- a/UPDATE.md +++ b/UPDATE.md @@ -1 +1 @@ -修复TMDB获取失败时无法添加订阅的问题 \ No newline at end of file +修复tr与aria重命名任务会失效的问题 #131 diff --git a/pom.xml b/pom.xml index f7ca9ed0..d75a9f74 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ ani.rss ani-rss - 1.1.216 + 1.1.217 11 diff --git a/src/main/java/ani/rss/util/TorrentUtil.java b/src/main/java/ani/rss/util/TorrentUtil.java index 27d535b0..ab77ca71 100644 --- a/src/main/java/ani/rss/util/TorrentUtil.java +++ b/src/main/java/ani/rss/util/TorrentUtil.java @@ -592,7 +592,11 @@ public static synchronized Boolean login() { log.warn("下载位置未设置"); return false; } - return baseDownload.login(ConfigUtil.CONFIG); + try { + return baseDownload.login(ConfigUtil.CONFIG); + } catch (Exception e) { + return false; + } } /**