Permalink
Browse files

options panel: fix annoying logged exception

  • Loading branch information...
1 parent febbe2f commit 93e37d8923a1596d91b9af8c72dfe5974b7665cd @achadwick achadwick committed Sep 30, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 gui/optionspanel.py
View
@@ -94,10 +94,8 @@ def _update_ui(self):
# Get the new options widget
old_options = self._options_bin.get_child()
new_options = self._no_options_label
- try:
+ if hasattr(mode, "get_options_widget"):
new_options = mode.get_options_widget()
- except Exception, ex:
- logger.exception("Failed to fetch options widget")
# Only update if there's a change
if new_options and new_options is not old_options:
# Label

0 comments on commit 93e37d8

Please sign in to comment.