diff --git a/src/ScalarMessaging.js b/src/ScalarMessaging.js index 22b2b9a6d1..da1ef7edfc 100644 --- a/src/ScalarMessaging.js +++ b/src/ScalarMessaging.js @@ -62,7 +62,7 @@ function sendResponse(event, res) { function sendError(event, msg, nestedError) { console.error("Action:" + event.data.action + " failed with message: " + msg); - const data = JSON.parse(JSON.stringify(event.data); + const data = JSON.parse(JSON.stringify(event.data)); data.response = { error: { message: msg,