Do you use the logging module?
http://code.google.com/appengine/docs/python/logging.html

You can try/except your code like this:

    try:
        code_that_can_fail()
    except:
        logging.error('your_message', exc_info=sys.exc_info())

You will then see the full exception information, including the stack
trace in the admin console / logs.


On Aug 28, 2:31 pm, Killarny <[EMAIL PROTECTED]> wrote:
> It is very frustrating that the dev_appserver will validate and run
> code that does not run on the live server. Even more frustrating is
> that the live server doesn't provide a way to view python traceback to
> determine what the actual problem is.
>
> Does anyone know of a technique that I can use to debug my live
> server, other than trial and error updates? I'm getting a mysterious
> 500 server error with my code, but the code runs perfectly under
> dev_appserver!
>
> Frustrated,
>
> Killarny
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to