500 -> better error message if location view breaks

http://manage.dimagi.com/default.asp?149400#838049