update module to use catch-error v1
Merge pull request #5 from JonathanPrince/catch_error_update

update module to use catch-error v1