mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Improving logging of 401 errors.
This commit is contained in:
@@ -1802,10 +1802,11 @@ public class SignalServiceMessageSender {
|
||||
Log.w(TAG, ike);
|
||||
unidentifiedAccess = Optional.empty();
|
||||
} catch (AuthorizationFailedException afe) {
|
||||
Log.w(TAG, afe);
|
||||
if (unidentifiedAccess.isPresent()) {
|
||||
Log.w(TAG, "Got an AuthorizationFailedException when trying to send using sealed sender. Falling back.");
|
||||
unidentifiedAccess = Optional.empty();
|
||||
} else {
|
||||
Log.w(TAG, "Got an AuthorizationFailedException without using sealed sender!", afe);
|
||||
throw afe;
|
||||
}
|
||||
} catch (MismatchedDevicesException mde) {
|
||||
|
||||
Reference in New Issue
Block a user