improve error when case name is not set Case:57520
Merge pull request #886 from dimagi/57520

improve error when case name is not set Case:57520