Use LOG.exception instead of logging.exception
Fix a typo in nova-all where logging.exception was used instead of LOG.exception like the rest of the code uses Change-Id: I6f88014e1c5d87a9b84bb2ac833931a93aaf96c0
This commit is contained in:
@@ -60,7 +60,7 @@ if __name__ == '__main__':
|
|||||||
try:
|
try:
|
||||||
servers.append(service.WSGIService(api))
|
servers.append(service.WSGIService(api))
|
||||||
except (Exception, SystemExit):
|
except (Exception, SystemExit):
|
||||||
logging.exception(_('Failed to load %s') % '%s-api' % api)
|
LOG.exception(_('Failed to load %s') % '%s-api' % api)
|
||||||
|
|
||||||
for mod in [s3server, xvp_proxy]:
|
for mod in [s3server, xvp_proxy]:
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user