Conver the error hook example to a release