Improves metadata exception logging

This commit is contained in:
Alessandro Pilotti 2013-11-16 15:31:02 +02:00
parent 7f142c3555
commit f21d5b86dc

View File

@ -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")