Add catch to get line/file of error

It's unclear why we're currently getting a
ConnectionLostException. Locally (calling
to trout) I can't reproduce.