From eb0a092fc53964e02a09da2d92a1f8a3042a1360 Mon Sep 17 00:00:00 2001 From: fx Date: Thu, 19 Oct 2023 09:39:28 +0200 Subject: added error message on server != 200 --- src/error.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/error.rs') diff --git a/src/error.rs b/src/error.rs index 9aa8c08..d35991b 100644 --- a/src/error.rs +++ b/src/error.rs @@ -4,7 +4,6 @@ pub enum CliError { Reqwest(reqwest::Error), Config(config::ConfigError), Serde(serde_json::Error), - // Cli(Box), } impl Debug for CliError { @@ -13,7 +12,6 @@ impl Debug for CliError { Self::Reqwest(err) => { err.fmt(f) }, Self::Config(err) => { err.fmt(f) }, Self::Serde(err) => { err.fmt(f) }, - // Self::Cli(err) => {err.fmt(f)}, } } } -- cgit v1.2.3