Fix for overflowing error message
Merge pull request #80 from dimagi/trim-error-message

Fix for overflowing error message