From 53af6559ca4374a08ba8e45fb2c5f9669bf374fe Mon Sep 17 00:00:00 2001
From: lovetox <philipp@hoerist.com>
Date: Sat, 18 Apr 2020 12:03:02 +0200
Subject: [PATCH] Notifications: Lower logging level for discovering
 notification support

---
 gajim/gtk/notification.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gajim/gtk/notification.py b/gajim/gtk/notification.py
index b5022ba787..32fe8afb44 100644
--- a/gajim/gtk/notification.py
+++ b/gajim/gtk/notification.py
@@ -80,8 +80,8 @@ def on_proxy_ready(_source, res, _data=None):
             try:
                 proxy = Gio.DBusProxy.new_finish(res)
                 self._daemon_capabilities = proxy.GetCapabilities()
-            except GLib.Error:
-                log.exception('Notifications D-Bus connection failed')
+            except GLib.Error as error:
+                log.warning('Notifications D-Bus not available: %s', error)
             else:
                 self._dbus_available = True
                 log.info('Notifications D-Bus connected')
-- 
GitLab