Prevent AppDispatcher from interrupting app execution

Since every app is standalone, if one app fails to execute handler,
others should not be affected.

Change-Id: I674f7f306fc4868337c364312017d7845f83ff7c
Closes-Bug: #1622189
This commit is contained in:
Hong Hui Xiao
2016-09-11 12:51:13 +08:00
parent 4c0c379119
commit 901302a85b
3 changed files with 71 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from neutron_lib import exceptions
from oslo_utils import excutils
import six
@@ -88,3 +89,9 @@ class NoRemoteIPProxyException(DragonflowException):
class LogicalPortNotFoundByTunnelKey(DragonflowException):
message = _('Could not find logical port with tunnel key %(key)')
class DFMultipleExceptions(exceptions.MultipleExceptions):
def __str__(self):
return ','.join(str(error) for error in self.inner_exceptions)