diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-10-25 13:03:18 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-10-25 13:03:53 +0200 |
commit | 33dcec55aa6c672503886d00e505fe0041a34576 (patch) | |
tree | 1fdb74b13c9b2649cbb6480eeb8b42d063ce9a29 | |
parent | d59ed9400395bbe3563246615ef18730aaaac747 (diff) | |
download | qutebrowser-33dcec55aa6c672503886d00e505fe0041a34576.tar.gz qutebrowser-33dcec55aa6c672503886d00e505fe0041a34576.zip |
Don't crash on notification daemon crash
(cherry picked from commit ce070a23a91d79d38ba01fc8f279db7488ffbb89)
-rw-r--r-- | qutebrowser/browser/webengine/notification.py | 4 |
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: |