Skip to content

Commit

Permalink
🚧 WIP debug
Browse files Browse the repository at this point in the history
  • Loading branch information
bronzelle committed Jan 5, 2024
1 parent c9e7353 commit 5dde297
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ async fn main() -> Result<()> {
});

panic::set_hook(Box::new(|panic_info| {
println!("{:#?}", panic_info);
info!("{:#?}", panic_info);
error!("{:#?}", panic_info);
let mut data = BTreeMap::new();
data.insert(
"message".to_string(),
Expand Down

0 comments on commit 5dde297

Please sign in to comment.