fix for bug http://manage.dimagi.com/default.asp?67957#707693
Merge pull request #15 from dimagi/detail_text_error_message

fix for bug http://manage.dimagi.com/default.asp?67957#707693