[Bug]: Go Cloudwatch CreateCustomMetric example does not display errors
fgehrlicher opened this issue · comments
Fabian Gehrlicher commented
Expected behavior
The CreateCustomMetric example ( go/cloudwatch/CreateCustomMetric/CreateCustomMetric.go
) should output errors that occur when creating the custom metric.
Actual behavior
In the case of an error, only a blank line is displayed.
Steps to reproduce
1. configure your environment variables incorrectly (e.g. don't set a region like I did 🙈)
2. run the example
Logs / stacktrace (if applicable)
No response
Which SDK were you using?
Go (v2)
Which OS were you using?
macOS
SDK version
1.51.21
OS version
macOs 14.4