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
This commit is contained in:
Steve McLellan 2014-05-06 10:26:10 -05:00
parent 915c5983fc
commit 289a1f886d

View File

@ -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')