Let me get this straight: to work as desired, a standard_error_message must be a DTML Method, correct, but not a Python Script? Standard_error_message isn't powerful enough to quiet Zope about what it knows, right? That is, even if standard_error_message contains, for example, some minimally short text, clients will still see the initial "Site Error ..." and trailing "Troubleshooting suggestions ..."? There's no way to eliminate those? I'm surprised I don't find more in the archives about standard_error_message. I conclude either: 1. other developers don't find exception-handling as important as I regard it; or 2. I don't understand how to search the archives properly; or 3. both.
At 06:24 PM 3/6/2003, Cameron Laird wrote:
That is, even if standard_error_message contains, for example, some minimally short text, clients will still see the initial "Site Error ..." and trailing "Troubleshooting suggestions ..."? There's no way to eliminate those?
I'm surprised I don't find more in the archives about standard_error_message. I conclude either: 1. other developers don't find exception-handling as important as I regard it; or 2. I don't understand how to search the archives properly; or 3. both.
Or: 4. You didn't realize it some of this is dependent on something other than standard_error_message, namely debug mode. Remove the -D argument from your start script. Also check out: http://www.zope.org/Members/JohnC/StandardErrorMessage HTH Dylan
2. I don't understand how to search the archives properly;
http://marc.theaimsgroup.com/?l=zope&w=2&r=1&s=standard_error_message&q=b http://www.zope.org/Members/JohnC/StandardErrorMessage -- Jamie Heilman http://audible.transient.net/~jamie/ "I was in love once -- a Sinclair ZX-81. People said, "No, Holly, she's not for you." She was cheap, she was stupid and she wouldn't load -- well, not for me, anyway." -Holly
Cameron Laird wrote at 2003-3-6 21:24 -0500:
Let me get this straight: to work as desired, a standard_error_message must be a DTML Method, correct, but not a Python Script?
No, we use a Python Script as "standard_error_message". It must allow for the passed in arguments, however... Dieter
participants (4)
-
Cameron Laird -
Dieter Maurer -
Dylan Reinhardt -
Jamie Heilman