Fix suite hook error reporting
Merge pull request #499 from benfitzpatrick/hook-err.fix

Fix suite hook error reporting
Merge remote branch 'upstream/master' into polling-tutorial