- except ImportError, err:
- logger.log_exc ("ERROR while loading module %s - skipping:" % module)
- # if we fail to load any of these, it's really no need to go on any further
- if module in NodeManager.core_modules:
- logger.log("FATAL : failed to load core module %s"%module)
+ except:
+ if module not in NodeManager.core_modules:
+ logger.log_exc ("ERROR while loading module %s - skipped" % module)
+ else:
+ logger.log("FATAL : failed to start core module %s"%module)
+ sys.exit(1)