Commit a46a37d1 by ichuang

log.debug -> log.exception; revert log change in xml_module

parent 76074442
...@@ -27,7 +27,7 @@ def log_event(event): ...@@ -27,7 +27,7 @@ def log_event(event):
try: try:
tldat.save() tldat.save()
except Exception as err: except Exception as err:
log.debug(err) log.exception(err)
def user_track(request): def user_track(request):
try: # TODO: Do the same for many of the optional META parameters try: # TODO: Do the same for many of the optional META parameters
......
...@@ -9,7 +9,7 @@ from fs.errors import ResourceNotFoundError ...@@ -9,7 +9,7 @@ from fs.errors import ResourceNotFoundError
import os import os
import sys import sys
log = logging.getLogger('mitx.' + __name__) log = logging.getLogger(__name__)
_AttrMapBase = namedtuple('_AttrMap', 'metadata_key to_metadata from_metadata') _AttrMapBase = namedtuple('_AttrMap', 'metadata_key to_metadata from_metadata')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment