catch errors in fiber