Fix compilation on nightly (#2001)

Fix nightly compile
This commit is contained in:
James Lindsay
2024-09-21 13:48:33 -07:00
committed by GitHub
parent cd4124a596
commit 33df58eda9
3 changed files with 6 additions and 9 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ pub fn init_graphite() {
}
/// When a panic occurs, notify the user and log the error to the JS console before the backend dies
pub fn panic_hook(info: &panic::PanicInfo) {
pub fn panic_hook(info: &panic::PanicHookInfo) {
let info = info.to_string();
let backtrace = Error::new("stack").stack().to_string();
if backtrace.contains("DynAnyNode") {