post-update hook should bail on error rather than continue or bugs are missed

Signed-off-by: Daniel Thomas <drt24@cam.ac.uk>