feat: Try log panics before unwinds to catch backtraces

This commit is contained in:
Jade Ellis authored and Ellis Git committed 2026-02-08 17:23:09 +00:00
1 parent f243b383cb
commit f6df44b13f
2 files changed
+37

No files matched your search

+3
View File
@@ -7,6 +7,7 @@ use conduwuit_core::{debug_info, error};
mod clap;
mod logging;
mod mods;
mod panic;
mod restart;
mod runtime;
mod sentry;
@@ -19,6 +20,8 @@ use server::Server;
pub use crate::clap::Args;
pub fn run() -> Result<()> {
panic::init();
let args = clap::parse();
run_with_args(&args)
}