Add more logs.

This commit is contained in:
Paulo Gustavo Veiga 2012-09-19 09:02:21 -03:00
parent 5e93c0a98c
commit f8cb849597

View File

@ -109,7 +109,7 @@ public class MindmapServiceImpl
final Set<Collaboration> 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...