From 6f8f52ac4d68877261c3f61aca43049301994fdb Mon Sep 17 00:00:00 2001 From: 101 Date: Sun, 25 Feb 2024 22:16:29 +0900 Subject: [PATCH] =?UTF-8?q?error=20resume=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/document/component/CreateDocumentByUser.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/example/daemawiki/domain/document/component/CreateDocumentByUser.java b/src/main/java/com/example/daemawiki/domain/document/component/CreateDocumentByUser.java index 1dfc5b2d..fc5fed04 100644 --- a/src/main/java/com/example/daemawiki/domain/document/component/CreateDocumentByUser.java +++ b/src/main/java/com/example/daemawiki/domain/document/component/CreateDocumentByUser.java @@ -29,7 +29,6 @@ public CreateDocumentByUser(DocumentRepository documentRepository, CreateDocumen public Mono execute(User user) { return documentRepository.save(createDocument(user)) - .onErrorResume(Mono::error) .flatMap(document -> revisionComponent.saveHistory(SaveRevisionHistoryRequest.builder() .type(RevisionType.CREATE) .documentId(document.getId())