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