Skip to content

Commit

Permalink
logging tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Doug Hellmann committed Jun 19, 2012
1 parent f0da043 commit d48017c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stevedore/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, namespace, invoke_on_load=False, invoke_args=(), invoke_kwds=
self.namespace = namespace
self.extensions = []
for ep in pkg_resources.iter_entry_points(self.namespace):
LOG.debug('found extension %r', ep.name)
LOG.debug('found extension %r', ep)
try:
ext = self._load_one_plugin(ep,
invoke_on_load,
Expand Down Expand Up @@ -77,6 +77,7 @@ def func(ext, *args, **kwds):
response.append(func(e, *args, **kwds))
except Exception as err:
LOG.error('error calling %r: %s', e.name, err)
LOG.exception(err)
return response

def __iter__(self):
Expand Down

0 comments on commit d48017c

Please sign in to comment.