Skip to content

Commit c256bf9

Browse files
committed
driver != null 예외 처리
1 parent defdcca commit c256bf9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/learningFlow/learningFlow_BE/service/embed/BlogEmbedService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ public CompletableFuture<byte[]> getBlogSource(Long episodeId) {
7272
catch (IOException e) {
7373
throw new RuntimeException("Gzip 압축 중 오류 발생", e); // IOException 처리
7474
} finally {
75-
driver.quit();
75+
if (driver != null)
76+
driver.quit();
7677
}
7778
}
7879

0 commit comments

Comments
 (0)