diff --git a/leo/logger.rs b/leo/logger.rs index 0cb89fa3b6..c359c91f48 100644 --- a/leo/logger.rs +++ b/leo/logger.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use leo_errors::{CliError, Result}; +use leo_errors::Result; use std::{fmt, sync::Once}; @@ -214,7 +214,7 @@ where pub fn init_logger(_app_name: &'static str, verbosity: usize) -> Result<()> { // This line enables Windows 10 ANSI coloring API. #[cfg(target_family = "windows")] - ansi_term::enable_ansi_support().map_err(|_| CliError::failed_to_enable_ansi_support())?; + ansi_term::enable_ansi_support().map_err(|_| leo_errors::CliError::failed_to_enable_ansi_support())?; use tracing_subscriber::fmt::writer::MakeWriterExt;