Skip to content

Commit 92d30f8

Browse files
committed
显示 statusCode
1 parent ef98f79 commit 92d30f8

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ private CompletableFuture<Void> downloadFile(List<IPDBDownloadSource> mirrorList
363363
return;
364364
}
365365
} else {
366-
throw new IllegalStateException("Not a valid response");
366+
throw new IllegalStateException("Not a valid response: "+r.statusCode());
367367
}
368368
if (!mirrorList.isEmpty()) { // 非 200 状态码 或者 gzip 解压出错
369369
log.warn(tlUI(Lang.IPDB_RETRY_WITH_BACKUP_SOURCE));

0 commit comments

Comments
 (0)