Add some better error handling to 'buildbot try'.

Refs #2392.
Merge pull request #618 from tomprince/bug2392

Add some better error handling to 'buildbot try'.