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:
@@ -69,6 +69,7 @@ public final class MojangSkinProvider implements SkinProvider {
|
||||
var profile = MojangSkinProvider.getProfile(name);
|
||||
return Optional.of(profile);
|
||||
} catch (IOException e) {
|
||||
SkinRestorer.LOGGER.error("Failed to find profile by name", e);
|
||||
return Optional.empty();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user