Skip to content

Commit

Permalink
修复一些错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Feb 7, 2024
1 parent 761ac56 commit 489488f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ public void banWave() {

if (needUpdate) {
for (Downloader downloader : this.downloaders) {
if (!downloader.login()) {
log.warn("登录到 {} ({}) 失败,跳过……", downloader.getName(), downloader.getEndpoint());
continue;
}
try {
if (!downloader.login()) {
log.warn("登录到 {} ({}) 失败,跳过……", downloader.getName(), downloader.getEndpoint());
continue;
}
downloader.setBanList(BAN_LIST.keySet());
} catch (Throwable th) {
log.warn("在更新 {} ({}) 的 BanList 时出现了一个非预期的错误", downloader.getName(), downloader.getEndpoint(), th);
Expand Down

0 comments on commit 489488f

Please sign in to comment.