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

add exception logging

This commit is contained in:
2025-07-07 00:53:53 +03:00
parent 96ea077004
commit b518305028

View File

@@ -69,6 +69,7 @@ public final class MojangSkinProvider implements SkinProvider {
var profile = MojangSkinProvider.getProfile(name); var profile = MojangSkinProvider.getProfile(name);
return Optional.of(profile); return Optional.of(profile);
} catch (IOException e) { } catch (IOException e) {
SkinRestorer.LOGGER.error("Failed to find profile by name", e);
return Optional.empty(); return Optional.empty();
} }
} }