From d90057fb8109e4a5ea4d96afc8c85245ea29da7c Mon Sep 17 00:00:00 2001 From: Gyoungmin Kim Date: Sat, 20 Jul 2024 01:43:16 +0900 Subject: [PATCH] hotfix: add error print --- .../src/main/java/kr/mafoo/photo/service/QrService.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/photo-service/src/main/java/kr/mafoo/photo/service/QrService.java b/photo-service/src/main/java/kr/mafoo/photo/service/QrService.java index ba68267..5140f51 100644 --- a/photo-service/src/main/java/kr/mafoo/photo/service/QrService.java +++ b/photo-service/src/main/java/kr/mafoo/photo/service/QrService.java @@ -75,7 +75,10 @@ private Mono getPhotoismFiles(String qrUrl) { return getFileAsByte(imageUrl); }); }) - .onErrorMap(e -> new PhotoQrUrlExpiredException()); + .onErrorMap(e -> { + e.printStackTrace(); + return new PhotoQrUrlExpiredException(); + }); } private Mono getHaruFilmFiles(String qrUrl) {