summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-05-02 15:54:51 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-05-02 17:12:47 +0200
commit24fc8d5f10d3c06e8f559767d6ea4df05a848f56 (patch)
tree3785ed57e675f9a8eb2f1d6eb4501e4efc6a2053
parentc987f7804880792b6368cc3853298f9ffd70a836 (diff)
downloadqutebrowser-24fc8d5f10d3c06e8f559767d6ea4df05a848f56.tar.gz
qutebrowser-24fc8d5f10d3c06e8f559767d6ea4df05a848f56.zip
notifications: Handle more non-fatal notification errors
(cherry picked from commit bd27b0b665a8d79b20c4e6a6232d8cee3fb0b363)
-rw-r--r--qutebrowser/browser/webengine/notification.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/qutebrowser/browser/webengine/notification.py b/qutebrowser/browser/webengine/notification.py
index ea52fc790..e874f3dc1 100644
--- a/qutebrowser/browser/webengine/notification.py
+++ b/qutebrowser/browser/webengine/notification.py
@@ -724,9 +724,18 @@ class DBusNotificationAdapter(AbstractNotificationAdapter):
# 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?
+ # From https://crashes.qutebrowser.org/view/b8c9838a
+ # Process org.freedesktop.Notifications received signal 5
+ # probably when notification daemon crashes?
"org.freedesktop.DBus.Error.Spawn.ChildSignaled",
+
+ # https://crashes.qutebrowser.org/view/f76f58ae
+ # Process org.freedesktop.Notifications exited with status 1
+ "org.freedesktop.DBus.Error.Spawn.ChildExited",
+
+ # https://crashes.qutebrowser.org/view/8889d0b5
+ # Could not activate remote peer.
+ "org.freedesktop.DBus.Error.NameHasNoOwner",
}
def __init__(self, parent: QObject = None) -> None: