better debug message when module missing parser class
This commit is contained in:
parent
3c91d802a4
commit
2042f3209b
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue