call error handler when error occurs

This commit is contained in:
Evan Almloff committed 2022-05-31 12:06:53 -05:00
1 parent 51b87dafcc
commit b921dc4eec
1 file changed
+4 -1
+4 -1
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 {