fix: make sure that errors from before
hook are reported
#196
+27
−4
before
hook are reported
#196