diff --git a/openassessment/__init__.py b/openassessment/__init__.py index 4add7b2a1a..903c987d45 100644 --- a/openassessment/__init__.py +++ b/openassessment/__init__.py @@ -2,4 +2,4 @@ Initialization Information for Open Assessment Module """ -__version__ = '5.5.3' +__version__ = '5.5.4' diff --git a/openassessment/workflow/workflow_batch_update_api.py b/openassessment/workflow/workflow_batch_update_api.py index c62bbb9076..c45b775a75 100644 --- a/openassessment/workflow/workflow_batch_update_api.py +++ b/openassessment/workflow/workflow_batch_update_api.py @@ -63,8 +63,9 @@ def update_workflows_for_all_blocked_submissions(): task_count=0) except (UpdateWorkflowsForCourseException, Exception) as e: # pylint: disable=broad-except logger.error( - "Batch workflow update. Error occurred while updating workflows for all blocked submissions. Error:%s", - str(e)) + "Batch workflow update. Error occurred while updating workflows for all blocked submissions. " + "error_message=%s", + str(e), exc_info=True) raise UpdateWorkflowsForAllBlockedSubmissionsException(str(e)) from e @@ -124,9 +125,10 @@ def update_workflows_for_course(course_id, workflow_update_data_for_course=None) except (UpdateWorkflowsForOraBlockException, Exception) as e: # pylint: disable=broad-except logger.error( "Batch workflow update for course blocked submissions failed. " - "course_id=%s Error:%s", + "course_id=%s error_message=%s", course_id, - str(e)) + str(e), + exc_info=True) raise UpdateWorkflowsForCourseException(str(e)) from e @@ -194,7 +196,8 @@ def update_workflows_for_ora_block(item_id, workflow_update_data_for_ora=None, c "Batch workflow update for ORA block failed. " "item_id=%s error_message:%s", item_id, - str(e)) + str(e), + exc_info=True) raise UpdateWorkflowsForOraBlockException(str(e)) from e @@ -224,7 +227,8 @@ def update_workflow_for_submission(submission_uuid, assessment_requirements=None submission_uuid, assessment_requirements, course_settings, - str(e)) + str(e), + exc_info=True) raise UpdateWorkflowForSubmissionException(str(e)) from e @@ -343,9 +347,13 @@ def get_workflow_update_data(peer_workflows): except Exception as e: # pylint: disable=broad-except logger.warning( - "Error occurred while constructing workflow update data " - "for open assessment: %s Error:%s", - peer_workflow.item_id, str(e)) + "Error occurred while constructing workflow update data for " + "course_id=%s item_id=%s submission_uuid=%s error_message=%s", + peer_workflow.course_id, + peer_workflow.item_id, + peer_workflow.submission_uuid, + str(e), + exc_info=True) return workflow_update_data diff --git a/package.json b/package.json index efcb278461..298989a616 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "edx-ora2", - "version": "5.5.3", + "version": "5.5.4", "repository": "https://github.com/openedx/edx-ora2.git", "dependencies": { "@edx/frontend-build": "^6.1.1",