From 936e360365c27307fdd9cfd37ec737dfa61b47a2 Mon Sep 17 00:00:00 2001 From: John DiSanti Date: Tue, 15 Nov 2022 12:57:54 -0800 Subject: [PATCH] Incorporate feedback --- aws/rust-runtime/aws-config/src/ecs.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aws/rust-runtime/aws-config/src/ecs.rs b/aws/rust-runtime/aws-config/src/ecs.rs index 589131195e..b31a0664c3 100644 --- a/aws/rust-runtime/aws-config/src/ecs.rs +++ b/aws/rust-runtime/aws-config/src/ecs.rs @@ -242,7 +242,8 @@ impl Error for EcsConfigurationError { match &self { EcsConfigurationError::InvalidRelativeUri { err, .. } => Some(err), EcsConfigurationError::InvalidFullUri { err, .. } => Some(err), - _ => None, + EcsConfigurationError::InvalidAuthToken { err, .. } => Some(err), + EcsConfigurationError::NotConfigured => None, } } }