diff --git a/cms/djangoapps/contentstore/views/import_export.py b/cms/djangoapps/contentstore/views/import_export.py index b450eef1df..244cae95d6 100644 --- a/cms/djangoapps/contentstore/views/import_export.py +++ b/cms/djangoapps/contentstore/views/import_export.py @@ -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),