9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-29 11:59:11 +00:00

feat(core): 优化 S3 托管

This commit is contained in:
jhqwqmc
2025-04-18 06:36:52 +08:00
parent e3c24087a9
commit 3427f9590f

View File

@@ -79,6 +79,7 @@ public class S3Host implements ResourcePackHost {
if (exception != null) {
Throwable cause = exception.getCause();
if (cause instanceof NoSuchKeyException) {
CraftEngine.instance().logger().warn("[S3] Resource pack not found! Upload it first.");
return Collections.emptyList();
} else {
CraftEngine.instance().logger().warn(