Skip to content
Open

Test PR #1001

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/controllers/event/fulfillment.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ function FulfillmentController(context) {
const eventContent = Buffer.from(hoolihanEvent.value.content, 'base64').toString('utf-8');
const fulfillmentEvent = JSON.parse(eventContent);

log.info('fulfillment event: ', fulfillmentEvent);

validationStatus.push({
status: ACCEPTED,
requestId: fulfillmentEvent.external_request_id || 'no-external-request-id',
Expand Down Expand Up @@ -116,6 +118,7 @@ function FulfillmentController(context) {
});
}
// Unknown error code; re-throw
log.error(`Error occurred (test): ${error.message}`);
throw error;
}
}
Expand Down