From 2b488eb2c768b40d7f0e94729f8f22f0e3be0a12 Mon Sep 17 00:00:00 2001 From: SW van Heerden Date: Wed, 24 Jul 2024 14:26:15 +0200 Subject: [PATCH] chore: remove panic abort (#6427) 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. --- Cargo.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4cd0e63af4..7ce974b41d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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