improve error reporting reducing the `try` extent
Merge pull request #107 from danse/master

improve error reporting reducing the `try` extent