ZF-8034: echo exception message in the code
Specifically, SVN revision 18493 (branch 1.8) also seems to be in trunk.
Line 595 (601 in trunk) catches exception caused when creating an object. The exception gets caught but there is a statement which echo's the exception message. This shouldn't be there. It causes problems for other content returned, like headers and correctly formed XML.
Also the message from the exception is completely lost.