fix(lambda-edge): resolve the handler with the value passed to the callback (#5094)