Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
error resume 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Feb 25, 2024
1 parent b76fddb commit 6f8f52a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public CreateDocumentByUser(DocumentRepository documentRepository, CreateDocumen

public Mono<DefaultDocument> execute(User user) {
return documentRepository.save(createDocument(user))
.onErrorResume(Mono::error)
.flatMap(document -> revisionComponent.saveHistory(SaveRevisionHistoryRequest.builder()
.type(RevisionType.CREATE)
.documentId(document.getId())
Expand Down

0 comments on commit 6f8f52a

Please sign in to comment.