From 6f346454e906d07551c35a7173fd8175b4d0975d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 11 Apr 2018 13:37:17 +0300 Subject: images: better exception info --- .../src/main/java/com/juick/service/MessagesServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-server-jdbc/src/main/java') diff --git a/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java b/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java index 97db10ec..3b73ed25 100644 --- a/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java +++ b/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java @@ -100,7 +100,7 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ try { imagesService.setAttachmentMetadata(imgDir, baseImagesUrl, msg); } catch (Exception e) { - logger.warn("images exception", e); + logger.warn("exception reading images for mid {} rid {}", msg.getMid(), msg.getRid(), e); } return msg; } -- cgit v1.2.3