Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
9807e28f by wurstsalat at 2023-05-23T22:15:10+02:00
fix: Exceptions: Fix sending reports via sentry in conjunction with proxy 
settings

- - - - -


1 changed file:

- gajim/gtk/exception.py


Changes:

=====================================
gajim/gtk/exception.py
=====================================
@@ -138,7 +138,7 @@ def _on_key_press(self, _widget: Gtk.Widget, event: 
Gdk.EventKey) -> None:
             self.destroy()
 
     def _on_report_clicked(self, _button: Gtk.Button) -> None:
-        if self._sentry_available and determine_proxy() is not None:
+        if self._sentry_available and determine_proxy() is None:
             # sentry-sdk supports a http-proxy arg but for now only use
             # sentry when no proxy is set, because we never tested if this
             # works. It's not worth it to potentially leak users identity just



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/9807e28f30ce8ebbb1e984a6f77f39af2cd350ec

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/9807e28f30ce8ebbb1e984a6f77f39af2cd350ec
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to