Prior to Yii 1.1.8 when throw CHttpException in ajax call, the response text only produce the message that the user set. But in version 1.1.8, it also produce
<h1>CHttpException</h1>
message
and the function call stacks
(I believe this is Enh #2556)
How to revert it back to only make it only produce error message without any header or any stack? Because I write code that receive message from the exception message to display to the user. The error header and stack make it become unfriendly toward user.