Skip to content

Commit

Permalink
refactor: add message for uploadFile runtime exception
Browse files Browse the repository at this point in the history
  • Loading branch information
gmkim20713 committed Oct 19, 2024
1 parent 68a8f6e commit 0756372
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Mono<String> uploadFile(byte[] fileByte) {

return "https://kr.object.ncloudstorage.com/" + bucketName + "/" + keyName;
} catch (Exception e) {
throw new RuntimeException(e);
throw new RuntimeException("Failed to upload image to object storage: ", e);
}
});
}
Expand Down

0 comments on commit 0756372

Please sign in to comment.