From: Thomas Fillon Date: Thu, 19 Jun 2014 10:38:09 +0000 (+0200) Subject: Add message when import error occurs during TimeSide init X-Git-Tag: 0.6~4^2~96 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=aec9b92b9fd29bf319da1ce2a722425aae1c437b;p=timeside.git Add message when import error occurs during TimeSide init --- diff --git a/timeside/tools/package.py b/timeside/tools/package.py index 9178725..57b2a37 100644 --- a/timeside/tools/package.py +++ b/timeside/tools/package.py @@ -74,6 +74,7 @@ def import_module_with_exceptions(name, package=None): # Ignore module requiring DJANGO_SETTINGS_MODULE in environnement return else: + print (name, package) raise e return name