Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit d65bc33

Browse files
author
Chris Wiechmann
committed
Set the jmsStatusText null to avoid undefined shown in the UI
1 parent ac36eb9 commit d65bc33

File tree

1 file changed

+1
-0
lines changed
  • apibuilder4elastic/custom_flow_nodes/api-builder-plugin-traffic-monitor-api-utils/src

1 file changed

+1
-0
lines changed

apibuilder4elastic/custom_flow_nodes/api-builder-plugin-traffic-monitor-api-utils/src/actions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ async function _addLegDetails(sourceLeg, resultLeg, correlationId, timestamp, lo
214214
details.type = 'http';
215215
} else if(sourceLeg.protocolInfo.jms) {
216216
details = { ...sourceLeg.protocolInfo.jms};
217+
if(!sourceLeg.protocolInfo.jms.jmsStatusText) details.jmsStatusText = null;
217218
details.type = 'jms';
218219
} else {
219220
logger.error(`Cannot get protocolInfo details from object: ${JSON.stringify(sourceLeg.protocolInfo)}`);

0 commit comments

Comments
 (0)