fix content_migration fail_with_error error
fix content_migration fail_with_error error

fixes #CNVS-6361

Change-Id: Ieb0c954bfcfc79737c3ae129960e6c19c5669fe4
Reviewed-on: https://gerrit.instructure.com/21535
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Bracken Mosbacker <48b846001bca4166dc3fb7711563afc17525921e@instructure.com>
QA-Review: Bracken Mosbacker <48b846001bca4166dc3fb7711563afc17525921e@instructure.com>
Product-Review: Bracken Mosbacker <48b846001bca4166dc3fb7711563afc17525921e@instructure.com>

Jyaasa/canvas-lms,va7map/canvas-lms,arrivu/qibla-ecampus,sfu/canvas-lms,juoni/canvas-lms,va7map/canvas-lms,Unow/ins,SwinburneOnline/canvas-lms,redconfetti/canvas-lms,samuels410/greatlakes-lms,jay3126/canvas-lms,djbender/canvas-lms,HotChalk/canvas-lms,kyroskoh/canvas-lms,va7map/canvas-lms,arrivu/jigsaw-lms,Rvor/canvas-lms,venturehive/canvas-lms,venturehive/canvas-lms,arrivu/jigsaw-lms,Rvor/canvas-lms,sdeleon28/canvas-lms,Unow/canvas-lms,antoniuslin/canvas-lms,utkarshx/canvas-lms,utkarshx/canvas-lms,whalejasmine/canvas-lms,tgroshon/canvas-lms,shidao-fm/canvas-lms,tgroshon/canvas-lms,sdeleon28/canvas-lms,jay3126/canvas-lms,sfu/canvas-lms,djbender/canvas-lms,va7map/canvas-lms,fronteerio/canvas-lms,juoni/canvas-lms,antoniuslin/canvas-lms,arrivu/hoodemo,sfu/canvas-lms,grahamb/canvas-lms,roxolan/canvas-lms,arrivu/hoodemo,roxolan/canvas-lms,redconfetti/canvas-lms,wimemx/Canvas,wrdsb/canvas-lms,venturehive/canvas-lms,shidao-fm/canvas-lms,skmezanul/canvas-lms,usmschuck/canvas,arrivu/qibla-ecampus,utkarshx/canvas-lms,efrj/canvas-lms,landonwilkins/canvas-lms,redconfetti/canvas-lms,loganrun/pincan,jay3126/canvas-lms,landonwilkins/canvas-lms,skmezanul/canvas-lms,sdeleon28/canvas-lms,djbender/canvas-lms,wye0220/shindig-canvas,Rvor/canvas-lms,HotChalk/canvas-lms,wrdsb/canvas-lms,arrivu/hoodemo,Unow/ins,shidao-fm/canvas-lms,arrivu/arrivu-lms,arrivu/arrivu-lms,leftplusrightllc/canvas-lms,jay3126/canvas-lms,tgroshon/canvas-lms,juoni/canvas-lms,Jyaasa/canvas-lms,grahamb/canvas-lms,grahamb/canvas-lms,whalejasmine/canvas-lms,wimemx/Canvas,Jyaasa/canvas-lms,landonwilkins/canvas-lms,antoniuslin/canvas-lms,arrivu/jigsaw-lms,leftplusrightllc/canvas-lms,redconfetti/canvas-lms,sdeleon28/canvas-lms,sfu/canvas-lms,samuels410/greatlakes-lms,Unow/canvas-lms,greyhwndz/canvas-lms,merichar/canvas-lms,efrj/canvas-lms,wye0220/shindig-canvas,whalejasmine/canvas-lms,SwinburneOnline/canvas-lms,wrdsb/canvas-lms,greyhwndz/canvas-lms,kyroskoh/canvas-lms,ShreniiNepal/shrenii_lmp,merichar/canvas-lms,fronteerio/canvas-lms,grahamb/canvas-lms,efrj/canvas-lms,venturehive/canvas-lms,whalejasmine/canvas-lms,wimemx/Canvas,Unow/ins,Rvor/canvas-lms,wye0220/shindig-canvas,Jyaasa/canvas-lms,utkarshx/canvas-lms,antoniuslin/canvas-lms,SwinburneOnline/canvas-lms,djbender/canvas-lms,grahamb/canvas-lms,leftplusrightllc/canvas-lms,shidao-fm/canvas-lms,HotChalk/canvas-lms,sfu/canvas-lms,kyroskoh/canvas-lms,greyhwndz/canvas-lms,roxolan/canvas-lms,sfu/canvas-lms,arrivu/arrivu-lms,usmschuck/canvas,ShreniiNepal/shrenii_lmp,leftplusrightllc/canvas-lms,samuels410/greatlakes-lms,wrdsb/canvas-lms,tgroshon/canvas-lms,HotChalk/canvas-lms,loganrun/pincan,fronteerio/canvas-lms,juoni/canvas-lms,skmezanul/canvas-lms,SwinburneOnline/canvas-lms,skmezanul/canvas-lms,ShreniiNepal/shrenii_lmp,greyhwndz/canvas-lms,sfu/canvas-lms,ShreniiNepal/shrenii_lmp,landonwilkins/canvas-lms,samuels410/greatlakes-lms,kyroskoh/canvas-lms,usmschuck/canvas,usmschuck/canvas,merichar/canvas-lms,roxolan/canvas-lms,loganrun/pincan,arrivu/qibla-ecampus,fronteerio/canvas-lms,efrj/canvas-lms,Unow/canvas-lms