aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-01-22 16:52:00 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-01-22 16:52:00 -0500
commit6f9b14b8ee43a92338dbfcc536e044d35766975e (patch)
tree8d0b046d848d1e49128f2f24cfad930a80e067f6
parentfurther protect against crashes when xwayland crashes (diff)
downloadenlightenment-6f9b14b8ee43a92338dbfcc536e044d35766975e.tar.gz
print notifications to stderr if a notification handler doesn't exist
-rw-r--r--src/bin/e_notification.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/e_notification.c b/src/bin/e_notification.c
index 60377ae73..b185f395b 100644
--- a/src/bin/e_notification.c
+++ b/src/bin/e_notification.c
@@ -561,7 +561,10 @@ e_notification_client_send(E_Notification_Notify *notify, E_Notification_Client_
normalize_notify(notify);
if (!n_data)
- return notification_client_dbus_send(notify, cb, data);
+ {
+ fprintf(stderr, "UNHANDLED NOTIFICATION:\nSummary: %s\nBody: %s\n", notify->summary, notify->body);
+ return notification_client_dbus_send(notify, cb, data);
+ }
//local
copy = malloc(sizeof(E_Notification_Notify));