From 346107196b0861d3ee5b19e84f2cc9a0d06327ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Mar=C3=ADa=20M=C3=A9ndez=20P=C3=A9rez?= Date: Thu, 17 Aug 2023 12:51:25 +0200 Subject: [PATCH] CLOG-226 getPost: Unable to find post with id (#75) --- .../clog/tool/entityprovider/ClogPostEntityProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/src/java/org/sakaiproject/clog/tool/entityprovider/ClogPostEntityProvider.java b/tool/src/java/org/sakaiproject/clog/tool/entityprovider/ClogPostEntityProvider.java index ea5760a..f036302 100644 --- a/tool/src/java/org/sakaiproject/clog/tool/entityprovider/ClogPostEntityProvider.java +++ b/tool/src/java/org/sakaiproject/clog/tool/entityprovider/ClogPostEntityProvider.java @@ -148,7 +148,7 @@ public ActionReturn handleStore(Map params) { isBeingPublished = true; } } catch (Exception e) { - log.info("Failed to get post with id '{}'. This could happen if this is the first time a post has been saved or published.", post.getId(), e); + log.info("Failed to get post with id '{}'. This could happen if this is the first time a post has been saved or published. Message '{}'", post.getId(), e.getMessage()); } }