mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
corrected class info of NullPointerException messages
This commit is contained in:
parent
ed4c8cd799
commit
4f49216103
1 changed files with 2 additions and 2 deletions
|
@ -66,13 +66,13 @@ public class SmsTransport {
|
|||
sentIntents.get(i),
|
||||
deliveredIntents == null ? null : deliveredIntents.get(i));
|
||||
} catch (NullPointerException npe) {
|
||||
Log.w("SmsSender", npe);
|
||||
Log.w("SmsTransport", npe);
|
||||
Log.w("SmsTransport", "Recipient: " + message.getIndividualRecipient().getNumber());
|
||||
Log.w("SmsTransport", "Message Total Parts/Current: " + messages.size() + "/" + i);
|
||||
Log.w("SmsTransport", "Message Part Length: " + messages.get(i).getBytes().length);
|
||||
throw new UndeliverableMessageException(npe);
|
||||
} catch (IllegalArgumentException iae) {
|
||||
Log.w("SmsSender", iae);
|
||||
Log.w("SmsTransport", iae);
|
||||
throw new UndeliverableMessageException(iae);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue