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
|
// build
|
||||||
(
|
(
|
||||||
"target triple",
|
"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
|
// config
|
||||||
("Zcash network", Some(config.network.network.to_string())),
|
("Zcash network", Some(config.network.network.to_string())),
|
||||||
|
|
Loading…
Reference in New Issue