When I throw an Exception in controller

0 views
Skip to first unread message

一首诗

unread,
Dec 7, 2006, 9:43:18 PM12/7/06
to TurboGears
Hi all,

When I throw an Exception in an controller to see what would happen, I
saw a page with a lot of information, such as call stack, local
varials, and so on.

Of course it's very useful to solve problems when developing, but it's
so weired that there is no document about this.

Is it part of Turbogears or CherryPy?

Adam Jones

unread,
Dec 7, 2006, 10:28:07 PM12/7/06
to TurboGears
That is part of CherryPy. It is turned off with the production config
(gives a 500 error instead). See the section on 'server.environment' on
this page for details:

http://docs.turbogears.org/1.0/Configuration

-Adam

Reply all
Reply to author
Forward
0 new messages