From abec66d99e895428dec7d9508fc2b0eef642140b Mon Sep 17 00:00:00 2001 From: Andrew Huang Date: Wed, 2 Nov 2022 14:58:51 +0100 Subject: [PATCH] . --- cli/src/handler.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/src/handler.rs b/cli/src/handler.rs index b1c98b3..d53c363 100644 --- a/cli/src/handler.rs +++ b/cli/src/handler.rs @@ -3,7 +3,7 @@ use std::error::Error; use tracing::error; use yansi::Paint; -/// A custom context type for Foundry specific error reporting via `eyre` +/// A custom context type for Conduit specific error reporting via `eyre` #[derive(Debug)] pub struct Handler; @@ -39,25 +39,25 @@ impl EyreHandler for Handler { } } -/// Installs the Foundry eyre hook as the global error report hook. +/// Installs the Conduit eyre hook as the global error report hook. /// /// # Details /// /// By default a simple user-centric handler is installed, unless -/// `FOUNDRY_DEBUG` is set in the environment, in which case a more +/// `CONDUIT_DEBUG` is set in the environment, in which case a more /// verbose debug-centric handler is installed. /// /// Panics are always caught by the more debug-centric handler. #[cfg_attr(windows, inline(never))] pub fn install() -> eyre::Result<()> { - let debug_enabled = std::env::var("FOUNDRY_DEBUG").is_ok(); + let debug_enabled = std::env::var("CONDUIT_DEBUG").is_ok(); if debug_enabled { color_eyre::install()?; } else { let (panic_hook, _) = color_eyre::config::HookBuilder::default() .panic_section( - "This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry", + "This is a bug. Consider reporting it at https://github.com/conduit-xyz/conduit-cli", ) .into_hooks(); panic_hook.install();