diff --git a/src/client-ocurl/opentelemetry_client_ocurl.ml b/src/client-ocurl/opentelemetry_client_ocurl.ml index 813eec55..1085b678 100644 --- a/src/client-ocurl/opentelemetry_client_ocurl.ml +++ b/src/client-ocurl/opentelemetry_client_ocurl.ml @@ -206,8 +206,9 @@ end = struct (* TODO: log error _via_ otel? *) Atomic.incr n_errors; - Printf.eprintf "opentelemetry: export failed:\n %s\n curl code: %s\n%!" - msg (Curl.strerror code); + Printf.eprintf + "opentelemetry: export failed:\n %s\n curl code: %s\nurl: %s\n%!" msg + (Curl.strerror code) url; (* avoid crazy error loop *) Thread.delay 3.