when testing out the custom content module with a user that was not a member of the group which was required to view the custom content of the page
the following error message is displayed in the browser (before the doc type declaration)
after some searching I finally found the line of code in CustomContent.module.php which generates the debug message - line 424DEBUG: this user(2) is not a member of group team
so I commented out the debug message
instead of this simple echo statement could it be possible to generate a more end user friendly message saying that they aren't a member of the required group to view the content, a the relevant location within the page body code