Truncate long error messages
Merge pull request #6 from lmacken/master

Truncate long error messages (fixes issue #5)