log exception messages generated by Session.exception()

(Boeing r1819)
This commit is contained in:
ahrenholz 2014-01-10 16:56:14 +00:00
parent ee8023a64a
commit 47433fc231

View file

@ -532,6 +532,7 @@ class Session(object):
tlvdata += coreapi.CoreExceptionTlv.pack(
eval("coreapi.CORE_TLV_EXCP_%s" % t), v)
msg = coreapi.CoreExceptionMessage.pack(0, tlvdata)
self.warn("exception: %s (%s) %s" % (source, objid, text))
# send Exception Message to connected handlers (e.g. GUI)
self.broadcastraw(None, msg)