update module to use catch-error v1