mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
corrected class info of NullPointerException messages
This commit is contained in:
parent
ed4c8cd799
commit
4f49216103
@ -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…
x
Reference in New Issue
Block a user