Get ready for new JsonAPI

This commit is contained in:
xfl03 committed 2016-08-09 17:23:27 +08:00
1 parent 8bccab4f0b
commit bbc355365a
8 files changed
+171 -169

No files matched your search

@@ -83,7 +83,7 @@ public class ProfileCache {
CustomSkinLoader.logger.info("Successfully load LocalProfile.");
return profile;
}catch(Exception e){
CustomSkinLoader.logger.info("Failed to load LocalProfile.("+e.getMessage()+")");
CustomSkinLoader.logger.info("Failed to load LocalProfile.("+e.toString()+")");
localProfiles.put(username.toLowerCase(), null);
}
return null;
@@ -98,7 +98,7 @@ public class ProfileCache {
IOUtils.write(json, new FileOutputStream(localProfile));
CustomSkinLoader.logger.info("Successfully save LocalProfile.");
} catch (Exception e) {
CustomSkinLoader.logger.info("Failed to save LocalProfile.("+e.getMessage()+")");
CustomSkinLoader.logger.info("Failed to save LocalProfile.("+e.toString()+")");
}
}
}