dea639e3f6
ref ENG-737 ref https://linear.app/tryghost/issue/ENG-737/http-500-errors-from-recommendations-check-endpoint - it's still possible for `this.#externalRequest.get` to throw, like if DNS resolution fails - we want to try-catch this so we don't throw from this function and return a HTTP 500 to the user - instead, we can just return `undefined`, which is the fallback - adds a breaking test too |
||
---|---|---|
.. | ||
.eslintrc.js | ||
BookshelfClickEventRepository.test.ts | ||
BookshelfRecommendationRepository.test.ts | ||
BookshelfSubscribeEventRepository.test.ts | ||
IncomingRecommendationController.test.ts | ||
IncomingRecommendationEmailRenderer.test.ts | ||
IncomingRecommendationService.test.ts | ||
Recommendation.test.ts | ||
RecommendationController.test.ts | ||
RecommendationMetadataService.test.ts | ||
RecommendationService.test.ts | ||
UnsafeData.test.ts | ||
WellknownService.test.ts |