Wrap log messages with _()
bug 1075082 There are a few log messages without _(), but a lot messages with _(). Wrap these log messages with _() in order to make the code consistent. Change-Id: Ibaff2c352df925f7e00d5a62d111ef73f60c944b
This commit is contained in:
@@ -226,7 +226,7 @@ def bandwidth_usage(instance_ref, audit_start,
|
||||
nw_info = network.API().get_instance_nw_info(admin_context,
|
||||
instance_ref)
|
||||
except Exception:
|
||||
LOG.exception('Failed to get nw_info', instance=instance_ref)
|
||||
LOG.exception(_('Failed to get nw_info'), instance=instance_ref)
|
||||
if ignore_missing_network_data:
|
||||
return
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user