Fix NR Dashbaord inconsistency with failed state

This commit is contained in:
=Awais Jibran
2021-05-28 00:19:28 +05:00
committed by Awais Jibran
parent 889458e243
commit 1b8195be60

View File

@@ -730,8 +730,8 @@ def validate_course_olx(courselike_key, course_dir, status):
if bypass_olx_failure_enabled():
return olx_is_valid
status.fail(UserErrors.OLX_VALIDATION_FAILED)
monitor_import_failure(courselike_key, status.state, message=validation_failed_mesg)
status.fail(UserErrors.OLX_VALIDATION_FAILED)
return False