1
0
mirror of https://github.com/Suiranoil/SkinRestorer.git synced 2026-01-16 04:42:12 +00:00

rethrow io exception

This commit is contained in:
2025-07-07 01:02:12 +03:00
parent b518305028
commit 6ce3484824

View File

@@ -70,7 +70,7 @@ public final class MojangSkinProvider implements SkinProvider {
return Optional.of(profile);
} catch (IOException e) {
SkinRestorer.LOGGER.error("Failed to find profile by name", e);
return Optional.empty();
throw new RuntimeException(e);
}
}
}, SkinRestorer.getConfigDir().resolve(PROFILE_CACHE_FILENAME).toFile());