Skip to content

Commit

Permalink
feat: remove panic shutdown (#222)
Browse files Browse the repository at this point in the history
Description
---
Dont shutdown on panic
  • Loading branch information
SWvheerden authored Dec 11, 2024
1 parent 1ed96a8 commit 13034e2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ async fn main() -> anyhow::Result<()> {
let mut file = File::create("panic.log").unwrap();
file.write_all(format!("Panic at {}: {}", location, message).as_bytes())
.unwrap();
process::exit(500);
}));

Cli::parse().handle_command(Shutdown::new().to_signal()).await?;
Expand Down

0 comments on commit 13034e2

Please sign in to comment.