catch errors during build-recursor