From 18b26fe9afc8734f3adb22cfa6b0ed6b68a8970e Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 3 Nov 2009 15:47:05 +0100 Subject: [PATCH] Don't silence all exceptions in the View mainloop. --- src/gui/gui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/gui.py b/src/gui/gui.py index a981b61..f7ee31e 100644 --- a/src/gui/gui.py +++ b/src/gui/gui.py @@ -142,7 +142,9 @@ class View(object): self.refresh() self.lock.wait() except: - pass + # TODO: Find out which exceptions to catch here. Catching + # and silencing all exceptions is not a good idea. + raise restore_gui(self) def exit(self): -- 2.30.2