Maybe I'm going about this the wrong way. All I want to do is exit the script and barf a big ugly error to the screen or the log in the event that something uncool happens.
So for example, let's say in my view I have a function to calculate area: def calculate_area(width, height): if not width and height: raise ('Unable to calculate area -- missing parameters') else: return width * height But then I just get a nasty 500 error (using apache/mod_python in dev mode) and my error string doesn't get displayed or logged anywhere either. ??? Sean --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---