Improves metadata exception logging
This commit is contained in:
parent
7f142c3555
commit
f21d5b86dc
@ -47,6 +47,6 @@ class MetadataServiceFactory(object):
|
||||
if service.load():
|
||||
return service
|
||||
except Exception, ex:
|
||||
LOG.error('Failed to load metadata service \'%(class_path)s\' '
|
||||
'with error: %(ex)s' % locals())
|
||||
LOG.error('Failed to load metadata service \'%(class_path)s\'')
|
||||
LOG.exception(ex)
|
||||
raise Exception("No available service found")
|
||||
|
Loading…
x
Reference in New Issue
Block a user