From 289a1f886d9faa0fbebc296e949ae119bb8c6506 Mon Sep 17 00:00:00 2001 From: Steve McLellan Date: Tue, 6 May 2014 10:26:10 -0500 Subject: [PATCH] Allow AgentExceptions to be logged properly Remove the special handling in AgentException so that the default Exception behavior is used when logging, and details are shown. Partially implements blueprint improve-engine-logging Closes-Bug: #1316360 Change-Id: I9730c3e0733f1d6e7d1e40a03aea8499c9605093 --- muranoapi/engine/system/agent.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/muranoapi/engine/system/agent.py b/muranoapi/engine/system/agent.py index a0145965..0f91ffe6 100644 --- a/muranoapi/engine/system/agent.py +++ b/muranoapi/engine/system/agent.py @@ -28,8 +28,7 @@ import muranoapi.engine.system.common as common class AgentException(Exception): - def __init__(self, message_info): - self.message_info = message_info + pass @murano_class.classname('io.murano.system.Agent')