kopia lustrzana https://github.com/ryukoposting/Signal-Android
Improving logging of 401 errors.
rodzic
e412cac419
commit
314ef3452f
|
@ -1802,10 +1802,11 @@ public class SignalServiceMessageSender {
|
||||||
Log.w(TAG, ike);
|
Log.w(TAG, ike);
|
||||||
unidentifiedAccess = Optional.empty();
|
unidentifiedAccess = Optional.empty();
|
||||||
} catch (AuthorizationFailedException afe) {
|
} catch (AuthorizationFailedException afe) {
|
||||||
Log.w(TAG, afe);
|
|
||||||
if (unidentifiedAccess.isPresent()) {
|
if (unidentifiedAccess.isPresent()) {
|
||||||
|
Log.w(TAG, "Got an AuthorizationFailedException when trying to send using sealed sender. Falling back.");
|
||||||
unidentifiedAccess = Optional.empty();
|
unidentifiedAccess = Optional.empty();
|
||||||
} else {
|
} else {
|
||||||
|
Log.w(TAG, "Got an AuthorizationFailedException without using sealed sender!", afe);
|
||||||
throw afe;
|
throw afe;
|
||||||
}
|
}
|
||||||
} catch (MismatchedDevicesException mde) {
|
} catch (MismatchedDevicesException mde) {
|
||||||
|
|
Ładowanie…
Reference in New Issue