fixes error logging to use the right exception parent class
looks like this was missed Closes-Bug: #1416798 Change-Id: If68c13b550d665dfa24b7380f53bee7f6fccdb23
This commit is contained in:
parent
64bd24f9d6
commit
81ba365150
|
@ -1183,7 +1183,7 @@ class Ml2Plugin(db_base_plugin_v2.NeutronDbPluginV2,
|
|||
LOG.debug("No ports have port_id starting with %s",
|
||||
port_id)
|
||||
return
|
||||
except exc.MultipleResultsFound:
|
||||
except sa_exc.MultipleResultsFound:
|
||||
LOG.error(_LE("Multiple ports have port_id starting with %s"),
|
||||
port_id)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue