Handle errors in hooks (#1043)

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

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