From e42bdbc87e0f4f1ebc3bc53ca82fd28b10ab261a Mon Sep 17 00:00:00 2001 From: anhnv Date: Thu, 17 Aug 2023 16:14:29 +0700 Subject: [PATCH] refactor: update error message when provider was initialized failed --- pkg/metric/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/metric/provider.go b/pkg/metric/provider.go index a9a9bfd..bdc7435 100644 --- a/pkg/metric/provider.go +++ b/pkg/metric/provider.go @@ -87,7 +87,7 @@ func initProvider() { exporter, err := newOTLPExporter() if err != nil { - fmt.Printf("kyber-trace-go: failed to init metric provider, %s", err) + fmt.Printf("kyber-trace-go: failed to init metric provider, %s\n", err) return }