Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/tcf/EventQueue.py')
-rw-r--r--python/src/tcf/EventQueue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/src/tcf/EventQueue.py b/python/src/tcf/EventQueue.py
index 546991b8f..c3084dde2 100644
--- a/python/src/tcf/EventQueue.py
+++ b/python/src/tcf/EventQueue.py
@@ -33,7 +33,7 @@ class EventQueue(object):
self.__is_waiting = False
self.__lock.notifyAll()
self.__thread.join()
- except BaseException as e:
+ except Exception as e:
protocol.log("Failed to shutdown TCF event dispatch thread", e)
def isShutdown(self):
@@ -53,7 +53,7 @@ class EventQueue(object):
self.__lock.wait()
r, args, kwargs = self.__queue.pop(0)
r(*args, **kwargs)
- except BaseException as x:
+ except Exception as x:
self.__error(x)
def invokeLater(self, r, *args, **kwargs):

Back to the top