Hi all:
I've implemented my custom 500 error like:

def error500(request):
    request.response.status = '500'
    return {}

config.add_view(error500, renderer='testprj:templates/500.mako', context=Exception)

And seems to be fine, but, is the most "pyramidonic" way of doing this?

Thanks.

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to