diff --git a/vmware_nsx/plugins/nsx_v3/plugin.py b/vmware_nsx/plugins/nsx_v3/plugin.py index d120aad74c..58eb060021 100644 --- a/vmware_nsx/plugins/nsx_v3/plugin.py +++ b/vmware_nsx/plugins/nsx_v3/plugin.py @@ -1117,7 +1117,7 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin, {'id': dhcp_info['nsx_port_id'], 'e': e}) try: self._dhcp_server.delete(dhcp_info['nsx_service_id']) - except Exception: + except Exception as e: LOG.error(_LE("Failed to delete logical DHCP server %(id)s " "during rollback. Exception: %(e)s"), {'id': dhcp_info['nsx_service_id'], 'e': e})