debugging CGI scripts

echuck3 at my-deja.com echuck3 at my-deja.com
Tue Aug 22 12:49:18 EDT 2000


In article <pJ%n5.43052$QD5.426611 at news.corecomm.net>,
  lynx <a at b.c> wrote:
> any good, simple work-even-remotely-alike for perl's CGI::Carp out
there,
> so i can send script errors to the browser and exit semi-gracefully?
> any way to do such things in a general manner, for non-CGI stuff also?

So far, the solutions presented in response to your question provide
the output back to the browser. However, you may want your errors:

* logged
* archived
* e-mailed to you

when you actually deliver your web site. Imagine a user gets an
unexpected error from your site and you automatically get an e-mail in
your box saying who/what/when.

This is available from CGI Wrapper, one of the components of Webware
for Python, http://webware.sourceforge.net

It's another Python script that executes other CGI Python scripts, just
a bit fancier. It has both docs and a config file.

-Chuck


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list