Commit a1a81d25 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[gui] Please do not mask stacktraces of exceptions...

parent bcd4532f
......@@ -45,6 +45,8 @@ Main class for Cadbiom gui
from __future__ import print_function
import os
import pkg_resources
import traceback
import gtk
import webbrowser
......@@ -734,8 +736,10 @@ class Charter(object):
# Notify that the model is not modified anymore
model.modified = False
except Exception as e:
LOGGER.error("Charter::create_xml_file: %s", e.message)
print(traceback.format_exc())
cancel_warn(e.message)
return
def choose_xml_file(self, widget):
"""
......
Markdown is supported
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