Skip to content

Commit

Permalink
Create
Browse files Browse the repository at this point in the history
  • Loading branch information
aliakh committed Jul 12, 2024
1 parent 0ffe410 commit 8fdb815
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/handson/Task02b_UPDATE_Group.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ public static void main(String[] args) throws IOException, ExecutionException, I
)
.thenComposeAsync(CompletableFuture::toCompletableFuture)
.exceptionally(throwable -> { logger.info(throwable.getLocalizedMessage()); return null; })
.toCompletableFuture()
.get()
.getBody()
.getEmail()
);

client.close();
}

Expand Down

0 comments on commit 8fdb815

Please sign in to comment.