Skip to content

Commit

Permalink
chore: remove panic abort (#6427)
Browse files Browse the repository at this point in the history
Description
---
remove panic abort

Motivation and Context
---
panic abort in the cargo file shutdowns the program after a panic
occurred. In places we need to swallow a panic and continue. This cannot
be done if panic abort is enabled.
  • Loading branch information
SWvheerden authored Jul 24, 2024
1 parent 65567d5 commit 2b488eb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ members = [
resolver = "2"

[profile.release]
# Shutdown when panicking so we can see the error, specifically for the wallet
panic = "abort"
# By default, Rust will wrap an integer in release mode instead of throwing the overflow error
# seen in debug mode. Panicking at this time is better than silently using the wrong value.
overflow-checks = true
Expand Down

0 comments on commit 2b488eb

Please sign in to comment.