Improve warnings when trying to update outside of pending suspense boundaries on the server (#2575)
* Improve warnings when trying to update outside of pending suspense boundaries on the server * remove suspense resolve log
This commit is contained in:
1 parent
88af3e7eff
commit
e794be5d78
14 files changed
+409
-313
No files matched your search
@@ -83,7 +83,7 @@ impl<F: ComponentFunction<P, M> + Clone, P: Clone + 'static, M: 'static> AnyProp
|
||||
Ok(node) => RenderReturn { node },
|
||||
Err(err) => {
|
||||
let component_name = self.name;
|
||||
tracing::error!("Error while rendering component `{component_name}`: {err:?}");
|
||||
tracing::error!("Panic while rendering component `{component_name}`: {err:?}");
|
||||
let panic = CapturedPanic { error: err };
|
||||
RenderReturn {
|
||||
node: Err(panic.into()),
|
||||
|
||||
Reference in new issue
Block a user