Skip to content

Commit 0d1e77c

Browse files
authored
Fix package prefix of error in otlploghttp (open-telemetry#5371)
1 parent 76c0610 commit 0d1e77c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
3636

3737
- Fix the empty output of `go.opentelemetry.io/otel/log.Value` in `go.opentelemetry.io/otel/exporters/stdout/stdoutlog`. (#5311)
3838
- Comparison of unordered maps in `go.opentelemetry.io/otel/log.KeyValue` and `go.opentelemetry.io/otel/log.Value`. (#5306)
39+
- Fix wrong package name of the error message when parsing endpoint URL in `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp`. (#5371)
3940

4041
## [1.26.0/0.48.0/0.2.0-alpha] 2024-04-24
4142

exporters/otlp/otlplog/otlploghttp/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func WithEndpoint(endpoint string) Option {
172172
func WithEndpointURL(rawURL string) Option {
173173
u, err := url.Parse(rawURL)
174174
if err != nil {
175-
global.Error(err, "otlpmetric: parse endpoint url", "url", rawURL)
175+
global.Error(err, "otlplog: parse endpoint url", "url", rawURL)
176176
return fnOpt(func(c config) config { return c })
177177
}
178178
return fnOpt(func(c config) config {

0 commit comments

Comments
 (0)