mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Ignore error if downloading profile avatar fails
This commit is contained in:
parent
2ccff8f51d
commit
bb59d1c9c9
1 changed files with 2 additions and 2 deletions
|
@ -461,8 +461,8 @@ public class Manager implements Closeable {
|
|||
File avatarFile = null;
|
||||
try {
|
||||
avatarFile = encryptedProfile.getAvatar() == null ? null : retrieveProfileAvatar(address, encryptedProfile.getAvatar(), profileKey);
|
||||
} catch (AssertionError e) {
|
||||
System.err.println("Failed to retrieve profile avatar: " + e.getMessage());
|
||||
} catch (Throwable e) {
|
||||
System.err.println("Failed to retrieve profile avatar, ignoring: " + e.getMessage());
|
||||
}
|
||||
|
||||
ProfileCipher profileCipher = new ProfileCipher(profileKey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue