When developing on Google App Engine dev app server locally (python) and encounter an error, the browser will just show something like the following:
Server error The website encountered an error while retrieving http://localhost:8080/. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this webpage later. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
Is there a configuration to display the detailed error message?
Google APIs define a set of standard error payloads for error details, which you can find in google/rpc/error_details. proto. These cover the most common needs for API errors, such as quota failure and invalid parameters. Like error codes, developers should use these standard payloads whenever possible.
To view the log entry associated with a sample error, click View logs from any entry in the Recent samples panel. This takes you to the Logs Explorer in the Cloud Logging console.
App Engine is a fully managed, serverless platform for developing and hosting web applications at scale. You can choose from several popular languages, libraries, and frameworks to develop your apps, and then let App Engine take care of provisioning servers and scaling your app instances based on demand.
You can use commandline and start dev server with --debug to get verbose debug messages. Here are the docs: http://code.google.com/appengine/docs/python/tools/devserver.html#Command_Line_Arguments
You can also add logging to your app to capture the info: http://code.google.com/appengine/docs/python/runtime.html#Logging
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With