fixes #3624 - raise exception when hook fails
Merge pull request #11 from stbenjam/3624-silent-failure

fixes #3624 - raise exception when hook fails