Improve handling for exceptions, output more information so we can find and fix problems.

This commit is contained in:
Ebag333
2017-02-12 13:09:26 -08:00
parent e7a5cb4b1d
commit 35e330f574
12 changed files with 50 additions and 33 deletions

View File

@@ -1095,9 +1095,9 @@ class PFTabsContainer(wx.Panel):
self.previewTab = tab
self.previewTimer.Start(500, True)
break
except:
pyfalog.warning("Exception caught in CheckTabPreview.")
pass
except Exception as e:
pyfalog.critical("Exception caught in CheckTabPreview.")
pyfalog.critical(e)
def CheckAddHighlighted(self, x, y):
"""