Skip to content

Commit e2bfe44

Browse files
authored
Merge pull request #300 from SWM16-ASAP/develop
Release: v3.1.2
2 parents de152a0 + 01dc05d commit e2bfe44

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ springBoot {
1010
}
1111

1212
group = 'com.linglevel'
13-
version = '3.1.1-SNAPSHOT'
13+
version = '3.1.2-SNAPSHOT'
1414

1515
java {
1616
toolchain {

src/main/java/com/linglevel/api/content/feed/service/FeedCrawlingService.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ private Feed convertEntryToFeed(SyndEntry entry, FeedSource feedSource) {
113113
// 발행일 추출
114114
Instant publishedAt = extractPublishedDate(entry);
115115

116+
// 필수 필드 검증: thumbnailUrl이 null이면 null 반환 (소프트 딜리트 처리됨)
117+
if (thumbnailUrl == null) {
118+
log.warn("RSS entry missing thumbnailUrl: {}", url);
119+
return null;
120+
}
121+
116122
// 작성자 추출
117123
String author = entry.getAuthor();
118124

0 commit comments

Comments
 (0)