call error handler when error occurs

This commit is contained in:
Evan Almloff 2022-05-31 12:06:53 -05:00
parent 51b87dafcc
commit b921dc4eec

View file

@ -213,7 +213,10 @@ pub fn rsx(s: TokenStream) -> TokenStream {
#captured
){
Ok(vnode) => vnode,
Err(_) => __cx.text(format_args!(""))
Err(err) => {
__rsx_text_index.report_error(err);
__cx.text(format_args!(""))
}
}
}
else {