kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
5b1e5b18f9
commit
e51e5cdfd4
|
@ -25,6 +25,7 @@ import org.whispersystems.textsecure.api.push.TextSecureAddress;
|
||||||
import org.whispersystems.textsecure.api.push.exceptions.UnregisteredUserException;
|
import org.whispersystems.textsecure.api.push.exceptions.UnregisteredUserException;
|
||||||
import org.whispersystems.textsecure.api.util.InvalidNumberException;
|
import org.whispersystems.textsecure.api.util.InvalidNumberException;
|
||||||
|
|
||||||
|
import java.io.FileNotFoundException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -127,6 +128,9 @@ public class PushMediaSendJob extends PushSendJob implements InjectableType {
|
||||||
} catch (InvalidNumberException | UnregisteredUserException e) {
|
} catch (InvalidNumberException | UnregisteredUserException e) {
|
||||||
Log.w(TAG, e);
|
Log.w(TAG, e);
|
||||||
throw new InsecureFallbackApprovalException(e);
|
throw new InsecureFallbackApprovalException(e);
|
||||||
|
} catch (FileNotFoundException e) {
|
||||||
|
Log.w(TAG, e);
|
||||||
|
throw new UndeliverableMessageException(e);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
Log.w(TAG, e);
|
Log.w(TAG, e);
|
||||||
throw new RetryLaterException(e);
|
throw new RetryLaterException(e);
|
||||||
|
|
Ładowanie…
Reference in New Issue