Handle errors in hooks (#1034)

Only suites affected by a failing hook will stop.
Merge branch 'Rulikkk-hook-error-handling'

* Rulikkk-hook-error-handling:
  Handle errors in hooks (#1034)