Add VERGEN_CARGO_PROFILE to the panic env vars

Some panics should only happen on debug profiles.
This commit is contained in:
teor 2021-04-26 12:19:55 +10:00
parent 62f053de9e
commit b6c5ef8041
1 changed files with 5 additions and 1 deletions

View File

@ -231,7 +231,11 @@ impl Application for ZebradApp {
// build
(
"target triple",
option_env!("VERGEN_CARGO_TARGET_TRIPLE").map(Into::into),
Some(env!("VERGEN_CARGO_TARGET_TRIPLE")).map(Into::into),
),
(
"build profile",
Some(env!("VERGEN_CARGO_PROFILE")).map(Into::into),
),
// config
("Zcash network", Some(config.network.network.to_string())),