diff --git a/mil_common/mil_missions/mil_missions_core/exceptions.py b/mil_common/mil_missions/mil_missions_core/exceptions.py index 5a178b578..b229cf7e5 100644 --- a/mil_common/mil_missions/mil_missions_core/exceptions.py +++ b/mil_common/mil_missions/mil_missions_core/exceptions.py @@ -13,8 +13,12 @@ class MissionException(Exception): parameters (Dict[Any, Any]): ??? """ - def __init__(self, message): - super(Exception, self).__init__(message) + def __init__(self, message, parameters=None): + if parameters is None: + parameters = {} + + self.message = message + self.parameters = parameters class TimeoutException(Exception):