catch CaseError when downloading a form
Merge pull request #1861 from dimagi/catch_case_error

catch CaseError when downloading a form