mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 09:17:44 +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),
|
sentIntents.get(i),
|
||||||
deliveredIntents == null ? null : deliveredIntents.get(i));
|
deliveredIntents == null ? null : deliveredIntents.get(i));
|
||||||
} catch (NullPointerException npe) {
|
} catch (NullPointerException npe) {
|
||||||
Log.w("SmsSender", npe);
|
Log.w("SmsTransport", npe);
|
||||||
Log.w("SmsTransport", "Recipient: " + message.getIndividualRecipient().getNumber());
|
Log.w("SmsTransport", "Recipient: " + message.getIndividualRecipient().getNumber());
|
||||||
Log.w("SmsTransport", "Message Total Parts/Current: " + messages.size() + "/" + i);
|
Log.w("SmsTransport", "Message Total Parts/Current: " + messages.size() + "/" + i);
|
||||||
Log.w("SmsTransport", "Message Part Length: " + messages.get(i).getBytes().length);
|
Log.w("SmsTransport", "Message Part Length: " + messages.get(i).getBytes().length);
|
||||||
throw new UndeliverableMessageException(npe);
|
throw new UndeliverableMessageException(npe);
|
||||||
} catch (IllegalArgumentException iae) {
|
} catch (IllegalArgumentException iae) {
|
||||||
Log.w("SmsSender", iae);
|
Log.w("SmsTransport", iae);
|
||||||
throw new UndeliverableMessageException(iae);
|
throw new UndeliverableMessageException(iae);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user