summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-10-25 13:03:18 +0200
committerFlorian Bruhin <me@the-compiler.org>2021-10-25 13:03:18 +0200
commitce070a23a91d79d38ba01fc8f279db7488ffbb89 (patch)
tree70914d11bef8e9ddcbebe6ced76666f8a000889d
parent5c33d1fdef9d1733e49c842ccae1b77b4e30bdab (diff)
downloadqutebrowser-ce070a23a91d79d38ba01fc8f279db7488ffbb89.tar.gz
qutebrowser-ce070a23a91d79d38ba01fc8f279db7488ffbb89.zip
Don't crash on notification daemon crash
-rw-r--r--qutebrowser/browser/webengine/notification.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/qutebrowser/browser/webengine/notification.py b/qutebrowser/browser/webengine/notification.py
index e40b3e736..f8e1a59b1 100644
--- a/qutebrowser/browser/webengine/notification.py
+++ b/qutebrowser/browser/webengine/notification.py
@@ -715,6 +715,10 @@ class DBusNotificationAdapter(AbstractNotificationAdapter):
# https://github.com/KDE/plasma-workspace/blob/v5.21.4/libnotificationmanager/server_p.cpp#L227-L237
# Created too many similar notifications in quick succession
"org.freedesktop.Notifications.Error.ExcessNotificationGeneration",
+
+ # From https://crashes.qutebrowser.org/view/b8c9838a - probably when
+ # notification daemon crashes?
+ "org.freedesktop.DBus.Error.Spawn.ChildSignaled",
}
def __init__(self, parent: QObject = None) -> None: