Add VERGEN_CARGO_PROFILE to the panic env vars
Some panics should only happen on debug profiles.
This commit is contained in:
parent
62f053de9e
commit
b6c5ef8041
|
@ -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())),
|
||||
|
|
Loading…
Reference in New Issue