Ignore error if downloading profile avatar fails
This commit is contained in:
parent
2ccff8f51d
commit
bb59d1c9c9
@ -461,8 +461,8 @@ public class Manager implements Closeable {
|
|||||||
File avatarFile = null;
|
File avatarFile = null;
|
||||||
try {
|
try {
|
||||||
avatarFile = encryptedProfile.getAvatar() == null ? null : retrieveProfileAvatar(address, encryptedProfile.getAvatar(), profileKey);
|
avatarFile = encryptedProfile.getAvatar() == null ? null : retrieveProfileAvatar(address, encryptedProfile.getAvatar(), profileKey);
|
||||||
} catch (AssertionError e) {
|
} catch (Throwable e) {
|
||||||
System.err.println("Failed to retrieve profile avatar: " + e.getMessage());
|
System.err.println("Failed to retrieve profile avatar, ignoring: " + e.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
ProfileCipher profileCipher = new ProfileCipher(profileKey);
|
ProfileCipher profileCipher = new ProfileCipher(profileKey);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user