From f8cb849597b7e830fc9581e9521fa4608fecd77a Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Wed, 19 Sep 2012 09:02:21 -0300 Subject: [PATCH] Add more logs. --- .../main/java/com/wisemapping/service/MindmapServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wise-webapp/src/main/java/com/wisemapping/service/MindmapServiceImpl.java b/wise-webapp/src/main/java/com/wisemapping/service/MindmapServiceImpl.java index f27a7f07..92b754b1 100755 --- a/wise-webapp/src/main/java/com/wisemapping/service/MindmapServiceImpl.java +++ b/wise-webapp/src/main/java/com/wisemapping/service/MindmapServiceImpl.java @@ -109,7 +109,7 @@ public class MindmapServiceImpl final Set collaborations = mindMap.getCollaborations(); if (mindMap.getCreator().getEmail().equals(collaboration.getCollaborator().getEmail())) { - throw new CollaborationException("User is the creator and must have ownership permissions"); + throw new CollaborationException("User is the creator and must have ownership permissions.Creator Email:" + mindMap.getCreator().getEmail() + ",Collaborator:" + collaboration.getCollaborator().getEmail()); } // When you delete an object from hibernate you have to delete it from *all* collections it exists in...