fix: handle DBusServiceUnknownException on Linux without NetworkManager

This commit is contained in:
edde746
2026-03-12 02:24:00 +01:00
parent c062dd944e
commit a17458ff9b
3 changed files with 39 additions and 31 deletions
+5
View File
@@ -198,6 +198,11 @@ FutureOr<SentryEvent?> _beforeSend(SentryEvent event, Hint _) {
return null;
}
// Drop DBusServiceUnknownException from Linux without NetworkManager
if (exceptions != null && exceptions.any((e) => e.type == 'DBusServiceUnknownException')) {
return null;
}
// Scrub Plex tokens and server URLs from exception messages
if (exceptions != null) {
exceptions = exceptions.map((e) {