@localstack/appinspector-ui 1.0.135 → 1.0.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -31304,6 +31304,9 @@ var EventDetails = ({ onClose, selectedEvent }) => {
|
|
|
31304
31304
|
const responsePayload = tryParseJson(selectedEvent.attributes?.["localstack.aws.service.response"]);
|
|
31305
31305
|
if (parseNestedJson && isLambdaInvoke && responsePayload && typeof responsePayload === "object" && "Payload" in responsePayload) {
|
|
31306
31306
|
responsePayload.Payload = tryParseJson(responsePayload.Payload);
|
|
31307
|
+
if (responsePayload.Payload && typeof responsePayload.Payload === "object" && "errorMessage" in responsePayload.Payload && typeof responsePayload.Payload.errorMessage === "string") {
|
|
31308
|
+
responsePayload.Payload.errorMessage = tryParseJson(responsePayload.Payload.errorMessage);
|
|
31309
|
+
}
|
|
31307
31310
|
}
|
|
31308
31311
|
const exceptionPayload = tryParseJson(selectedEvent.attributes?.["localstack.aws.service.exception"]);
|
|
31309
31312
|
const hasPayloads = requestPayload !== void 0 || responsePayload !== void 0 || exceptionPayload !== void 0 || isResponseSuppressed;
|