Skip to content

Commit

Permalink
add improved logging PR
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiahlukus committed Jun 18, 2024
1 parent 9e76e5c commit a610146
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ssm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ async fn ssm_get_parameter(
"error",
true,
Some(format!(
"Error calling ssm:GetParameter. Environment variable: {} Path: {} Error: {}",
name, path, error
"Error calling ssm:GetParameter. Environment variable: {} Path: {} Error: {:?}",
name, path, error.into_service_error().meta()
)),
);
}
Expand Down Expand Up @@ -112,8 +112,8 @@ async fn ssm_get_parameters_by_path(
"error",
true,
Some(format!(
"Error calling ssm:GetParametersByPath. Environment variable: {} Path: {} Error: {}",
name, path, error
"Error calling ssm:GetParametersByPath. Environment variable: {} Path: {} Error: {:?}",
name, path, error.into_service_error().meta()
)),
);
break;
Expand Down

0 comments on commit a610146

Please sign in to comment.