Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
john-tco committed Dec 19, 2023
1 parent eef19d2 commit 2d4d246
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public void validateGrantWebpageUrl(final String contentfulSlug, final String gr
String url = this.getGrantWebpageUrl(contentfulEntry);

if (!url.equals(grantWebpageUrl)) {
log.error("Grant webpage url does not match the url in contentful - expected: " + url + "but received: " + grantWebpageUrl);
throw new NotFoundException("Grant webpage url does not match the url in contentful");
}
} catch (CDAResourceNotFoundException error) {
Expand Down

0 comments on commit 2d4d246

Please sign in to comment.