cwconfig.py
changeset 140 478bdd15bc0e
parent 0 b97547f5f1fa
child 180 8bcebdb5f55d
--- a/cwconfig.py	Tue Nov 25 12:33:39 2008 +0100
+++ b/cwconfig.py	Tue Nov 25 12:33:52 2008 +0100
@@ -264,9 +264,9 @@
         cube = CW_MIGRATION_MAP.get(cube, cube)
         try:
             return getattr(__import__('cubes.%s.__pkginfo__' % cube), cube).__pkginfo__
-        except ImportError:
+        except Exception, ex:
             raise ConfigurationError('unable to find packaging information for '
-                                     'cube %s' % cube)
+                                     'cube %s (%s: %s)' % (cube, ex.__class__.__name__, ex))
 
     @classmethod
     def cube_version(cls, cube):