Improved error handling

This commit is contained in:
M66B
2019-06-20 08:39:37 +02:00
parent c81389769e
commit ce9b7e82e2
13 changed files with 100 additions and 76 deletions

View File

@@ -416,7 +416,7 @@ public class ServiceSend extends LifecycleService {
Log.i("Reporting send error after=" + delayed);
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
nm.notify("send", message.identity.intValue(),
Core.getNotificationError(this, ident.name, ex).build());
Core.getNotificationError(this, "error", ident.name, ex).build());
}
throw ex;