Skip to content

Commit

Permalink
#52 add adyen request body to a separate field
Browse files Browse the repository at this point in the history
  • Loading branch information
LEQADA committed Apr 23, 2019
1 parent 4c0ee0c commit 5cdc10a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion notification/src/api/notification/notification.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ async function handleNotification (request, response) {
{ 'Content-Type': 'application/json' },
JSON.stringify({ notificationResponse: '[accepted]' }))
} catch (e) {
e.adyenRequestBody = `${body}`
logger.error(e,
`Unexpected exception occurred. Received payload from Adyen: ${body}`)
'Unexpected exception occurred.')
return httpUtils.sendResponse(response, 500)
}
}
Expand Down

0 comments on commit 5cdc10a

Please sign in to comment.