Skip to content

Commit 6813649

Browse files
committed
允许源重试
1 parent 92d30f8 commit 6813649

File tree

1 file changed

+0
-2
lines changed
  • src/main/java/com/ghostchu/peerbanhelper/util/ipdb

1 file changed

+0
-2
lines changed

src/main/java/com/ghostchu/peerbanhelper/util/ipdb/IPDB.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,6 @@ private CompletableFuture<Void> downloadFile(List<IPDBDownloadSource> mirrorList
362362
log.info(tlUI(Lang.IPDB_UPDATE_SUCCESS, databaseName));
363363
return;
364364
}
365-
} else {
366-
throw new IllegalStateException("Not a valid response: "+r.statusCode());
367365
}
368366
if (!mirrorList.isEmpty()) { // 非 200 状态码 或者 gzip 解压出错
369367
log.warn(tlUI(Lang.IPDB_RETRY_WITH_BACKUP_SOURCE));

0 commit comments

Comments
 (0)