mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-22 16:07:30 +00:00
Catch mysterious SMS too large exception.
This commit is contained in:
parent
5ca7b1080c
commit
48576dbb58
@ -262,6 +262,9 @@ public class SmsSender {
|
|||||||
} catch (NullPointerException npe) {
|
} catch (NullPointerException npe) {
|
||||||
Log.w("SmsSender", npe);
|
Log.w("SmsSender", npe);
|
||||||
DatabaseFactory.getSmsDatabase(context).markAsSentFailed(messageId);
|
DatabaseFactory.getSmsDatabase(context).markAsSentFailed(messageId);
|
||||||
|
} catch (IllegalArgumentException iae) {
|
||||||
|
Log.w("SmsSender", iae);
|
||||||
|
DatabaseFactory.getSmsDatabase(context).markAsSentFailed(messageId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user