diff --git a/tr_sys/tr_ars/api.py b/tr_sys/tr_ars/api.py index 56813ffa..fe795678 100644 --- a/tr_sys/tr_ars/api.py +++ b/tr_sys/tr_ars/api.py @@ -214,6 +214,7 @@ def trace_message(req, key): tree = { 'message': str(mesg.id), 'status': dict(Message.STATUS)[mesg.status], + 'code':mesg.code, 'actor': { 'pk': mesg.actor.pk, 'inforesid': mesg.actor.inforesid,