Browse Source

NSX|V3+P: Transalte nsxlib ServiceUnavailable exception

to HTTPServiceUnavailable

Change-Id: I5f9159368dfbb4a0935afc9b83d72aba2dfc58b2
changes/55/739655/1
asarfaty 1 month ago
committed by Adit Sarfaty
parent
commit
2147b82089
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      vmware_nsx/plugins/common_v3/plugin.py

+ 2
- 0
vmware_nsx/plugins/common_v3/plugin.py View File

@@ -188,6 +188,8 @@ class NsxPluginV3Base(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
webob.exc.HTTPBadRequest,
nsx_exc.NsxPluginTemporaryError:
webob.exc.HTTPServiceUnavailable,
nsx_lib_exc.ServiceUnavailable:
webob.exc.HTTPServiceUnavailable,
nsx_lib_exc.TooManyRequests:
webob.exc.HTTPServiceUnavailable
})


Loading…
Cancel
Save