Skip to content
Snippets Groups Projects
Commit bbb45fe0 authored by Nathaniel Kofalt's avatar Nathaniel Kofalt
Browse files

Log traceback

parent e6336eb1
No related branches found
No related tags found
No related merge requests found
import copy
import json
import urllib
import webapp2
import datetime
import json
import jsonschema
import requests
import traceback
import urllib
import urlparse
import jsonschema
import webapp2
from . import util
from . import config
......@@ -123,7 +124,8 @@ class RequestHandler(webapp2.RequestHandler):
def handle_exception(self, exception, debug):
# Log the error.
log.error(exception)
tb = traceback.format_exc()
log.error(tb)
# If the exception is a HTTPException, use its error code.
# Otherwise use a generic 500 error code.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment