Fixed PW exception logging

This commit is contained in:
r.kuznetsov 2016-08-18 18:42:17 +03:00
parent aee30889b2
commit ef387c4408

View file

@ -129,7 +129,10 @@ public final class PushwooshHelper implements SendPushTagsCallBack
synchronized (mSyncObject)
{
if (e != null)
Log.e("Pushwoosh", e.getLocalizedMessage());
{
String msg = e.getLocalizedMessage();
Log.e("Pushwoosh", msg != null ? msg : "onSentTagsError");
}
mTask = null;
}
}