[READ-ONLY] Mirror of https://github.com/probablykasper/ferrum. Music library app for Mac, Linux and Windows ferrum.kasper.space
electron linux macos music music-library music-player napi windows
0

Configure Feed

Select the types of activity you want to include in your feed.

Cleanup panic handler

Kasper (Sep 14, 2025, 12:05 PM +0200) 0a4970a2 b5c909d5

+1 -4
+1 -4
src-native/data_js.rs
··· 31 31 "Unknown panic message" 32 32 }; 33 33 34 - // Get the location of the panic (file, line, column) 34 + // file:line:column 35 35 let location = if let Some(loc) = info.location() { 36 36 format!("{}:{}:{}", loc.file(), loc.line(), loc.column()) 37 37 } else { 38 38 "Unknown location".to_string() 39 39 }; 40 40 41 - // let stacktrace = std::backtrace::Backtrace::force_capture(); 42 - // println!("Got panic. {}\n{}", panic_msg, stacktrace); 43 - // println!(""); 44 41 eprintln!( 45 42 "thread '{}' panicked at '{}': {}", 46 43 thread_name, panic_msg, location