Skip to content
Permalink
Browse files

Add passthru on error to the eager redirect lambda

  • Loading branch information...
ThatJoeMoore committed Jun 22, 2018
1 parent 8d5f93f commit 8f1a5e13663e841fcee1a1dd468faf964a5f48b3
Showing with 4 additions and 1 deletion.
  1. +4 −1 edge-lambdas/eager-redirect/index.js
@@ -33,6 +33,9 @@ exports.handler = function (event, context, callback) {

handler.handleRequest(request).then(
result => callback(null, result),
err => callback(err)
err => {
console.error('Error processing request; continuing request', err);
callback(null, request);
}
);
};

0 comments on commit 8f1a5e1

Please sign in to comment.
You can’t perform that action at this time.