Commit 93d7bce9 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add debug information in statechart renderer

parent 49d5991c
......@@ -2417,6 +2417,7 @@ class OG_MainWindow(QtGui.QMainWindow, object):
self.statechart_scene.itemsBoundingRect(),
Qt.KeepAspectRatioByExpanding)
except (AttributeError, IOError, TypeError) as err:
LOG.debug(str(traceback.format_exc()))
LOG.debug("Statechart error: " + str(err))
if mdi is not None:
# When leaving the focus, this signal is received with mdi == None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment