Skip to content

Commit

Permalink
#2153 catch all errors, not just subclasses of Exception
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@21871 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 25, 2019
1 parent d5d7177 commit 7875aa8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/xpra/x11/models/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,10 +381,8 @@ def _read_initial_X11_properties(self):
handlers.add(handler)
try:
handler(self)
except Exception as e:
log.error("_read_initial_X11_properties()", exc_info=True)
log.error("Error parsing initial property '%s':", mutable)
log.error(" %s", e)
except:
log.error("Error parsing initial property '%s':", mutable, exc_info=True)

def _scrub_x11(self):
metalog("scrub_x11() x11 properties=%s", self._scrub_x11_properties)
Expand Down

0 comments on commit 7875aa8

Please sign in to comment.