Skip to content

Commit 94c76e4

Browse files
committed
address pr review
1 parent ab79d83 commit 94c76e4

File tree

1 file changed

+1
-1
lines changed
  • aws-runtime/aws-config/common/src/aws/sdk/kotlin/runtime/config/profile

1 file changed

+1
-1
lines changed

aws-runtime/aws-config/common/src/aws/sdk/kotlin/runtime/config/profile/AwsProfile.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public inline fun <reified T : Enum<T>> AwsProfile.getEnumOrNull(key: String, su
211211
enumValues<T>().firstOrNull {
212212
it.name.equals(value, ignoreCase = true)
213213
} ?: throw ConfigurationException(
214-
"Value '$value' is not supported, should be one of: ${
214+
"$key $value is not supported, should be one of: ${
215215
enumValues<T>().joinToString(", ") { it.name.lowercase() }
216216
}",
217217
)

0 commit comments

Comments
 (0)