src/eric7/Debugger/DebugUI.py

branch
eric7
changeset 9315
79be00bfe50c
parent 9291
7b271bcd12d0
child 9377
b9c8dc3b7da1
--- a/src/eric7/Debugger/DebugUI.py	Tue Sep 06 15:08:41 2022 +0200
+++ b/src/eric7/Debugger/DebugUI.py	Wed Sep 07 15:55:49 2022 +0200
@@ -1451,10 +1451,7 @@
         if (
             self.exceptions
             and exceptionType not in self.excIgnoreList
-            and (
-                not len(self.excList)
-                or (len(self.excList) and exceptionType in self.excList)
-            )
+            and (len(self.excList) == 0 or exceptionType in self.excList)
         ) or (self.unhandledExceptions and exceptionType.startswith("unhandled")):
             res = None
             if stackTrace:

eric ide

mercurial