Skip to content

Commit

Permalink
Check for DynAnyNode in Backtrace because that can't be inlined as well
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueDoctor committed Jul 25, 2024
1 parent 00e17e6 commit 3c2a03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub fn panic_hook(info: &panic::PanicInfo) {
let stack = e.stack();
let backtrace = stack.to_string();
// error!("{:?}", backtrace);
if backtrace.to_string().contains("AssertUnwindSafe") {
if backtrace.to_string().contains("DynAnyNode") {
log::error!("Node graph evaluation panicked {info}");

// When the graph panics, the node runtime lock may not be released properly
Expand Down

0 comments on commit 3c2a03d

Please sign in to comment.