Error pages could show full ticket info at once via ajax

10 views
Skip to first unread message

Jurgis Pralgauskis

unread,
Sep 28, 2010, 7:49:01 AM9/28/10
to web2py-users
Hello,

it would probably be few lines of code to call web2py_content(ticket
url) on error page,

because when there are many errors while debugging - extra clicks get
annoying...

mdipierro

unread,
Sep 28, 2010, 8:47:32 AM9/28/10
to web2py-users
No objection, may improve usability.

On Sep 28, 6:49 am, Jurgis Pralgauskis <jurgis.pralgaus...@gmail.com>
wrote:

howesc

unread,
Sep 28, 2010, 5:35:38 PM9/28/10
to web2py-users
my only concern would be in the (highly unlikely) event that an error
happens on a production site that this would expose source code to end
users - not usually a good idea. so maybe have a setting, or some way
to detect that there is a valid admin session before showing full
error trace.

mdipierro

unread,
Sep 28, 2010, 6:39:47 PM9/28/10
to web2py-users
This would only be if the issue is issue to admin.
Look into appadmin.py on how to check for that.
Reply all
Reply to author
Forward
0 new messages