You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In this release v11.5.7
logger was added to notificationHandler.processNotification as a parameter, but it was added only for microservices (controller) and not for serverless (aws lambda for example).
Thank you for reaching out to us. We have received your ticket and will review it as soon as possible. Our team will keep you updated on the progress and provide assistance promptly.
If you have any additional details to share, please feel free to reply to this email.
Thank you for your patience. We wanted to let you know that our team is still investigating the issue. We are working on identifying the cause and will keep you informed as soon as we have more information to share.
If you have any further details or questions in the meantime, please feel free to reach out.
Describe the bug
In this release
v11.5.7
logger was added to notificationHandler.processNotification as a parameter, but it was added only for microservices (controller) and not for serverless (aws lambda for example).
This leads to such errors ->
{
"name": "ctp-adyen-integration-notifications",
"hostname": "169.254.110.69",
"pid": 8,
"level": 50,
"notification": [
{
"eventCode": "AUTHORISATION",
"eventDate": "2024-11-15T12:27:05+01:00",
"pspReference": "******",
"success": "true"
}
],
"cause": {
"message": "Cannot read properties of undefined (reading 'child')",
"name": "TypeError",
"stack": "TypeError: Cannot read properties of undefined (reading 'child')\n at Object.processNotification (file:///var/task/src/handler/notification/notification.handler.js:15:28)\n at Runtime.handler (file:///var/task/index.js:32:33)\n at Runtime.handleOnceNonStreaming (file:///var/runtime/index.mjs:1173:29)"
},
"msg": "Unexpected exception occurred.",
"time": "2024-11-15T11:27:05.658Z",
"v": 0
}
To Reproduce
Invoke any event and code will fail
Expected behavior
Would be nice to have tests for serverless as well
The text was updated successfully, but these errors were encountered: