mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
call error handler when error occurs
This commit is contained in:
parent
51b87dafcc
commit
b921dc4eec
1 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue