Skip to content

Commit

Permalink
[EFL] print exception when failing loading the EFL UI
Browse files Browse the repository at this point in the history
  • Loading branch information
borisfaure committed Oct 22, 2009
1 parent b68ee6c commit 94dca6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion amsn2/gui/front_ends/efl/__init__.py
@@ -1,6 +1,7 @@

from amsn2 import gui
import sys
import traceback

# Here we load the actual front end.
# We need to import the front end module and return it
Expand All @@ -9,7 +10,9 @@ def load():
try:
import efl
return efl
except ImportError:
except ImportError, e:
etype, value, tb = sys.exc_info()
traceback.print_exception(etype, value, tb.tb_next)
return None


Expand Down

0 comments on commit 94dca6e

Please sign in to comment.