better debug message when module missing parser class

This commit is contained in:
Alan Hamlett 2014-12-25 12:39:36 -06:00
parent 3c91d802a4
commit 2042f3209b

View file

@ -94,7 +94,7 @@ class DependencyParser(object):
try: try:
self.parser = getattr(module, class_name) self.parser = getattr(module, class_name)
except AttributeError: except AttributeError:
log.debug(traceback.format_exc()) log.debug('Module {0} is missing class {1}'.format(module.__name__, class_name))
except ImportError: except ImportError:
log.debug(traceback.format_exc()) log.debug(traceback.format_exc())