Commit a35e3594 by Adam Palay

add logging to course import

parent ced3f67a
......@@ -238,6 +238,9 @@ def import_handler(request, tag=None, package_id=None, branch=None, version_guid
# Send errors to client with stage at which error occurred.
except Exception as exception: # pylint: disable=W0703
log.exception(
"error importing course at {0}".format(new_location)
)
return JsonResponse(
{
'ErrMsg': str(exception),
......
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