I run error_value through a simple python script to get the original message
back again :)
Cheers.
--
Andy McKay.
----- Original Message -----
From: "Dyon Balding" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 09, 2001 9:44 PM
Subject: [Zope-dev] standard_error_message manipulation
> Hi,
>
> As part of a large python product I wanted to modify the normal
> "Zope Error" standard_error_message page.
>
> Most exceptions will be caught in the code, and therefore those
> that do get through and cause an error message to be displayed
> to the user probably indicate a bug in our code. I would like
> to give the user the ability to submit the details of the exception
> along with their own information as a bug report.
>
> I created my own standard_error_message, and wanted it to contain
> a form with the values of error_value and error_tb among
> others. It however appears that the values of these variables get
> rendered into HTML much earlier than desired and therefore aren't
> very readable in a bug report.
>
> Is there a better approach to this problem? or a work around?
>
> thanks
> -d
>
> --
> Dyon Balding <[EMAIL PROTECTED]>
>
> _______________________________________________
> Zope-Dev maillist - [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )
>
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )