mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 04:17:56 -04:00
add url to error log
This commit is contained in:
parent
c372c458c7
commit
d6d36ee73d
1 changed files with 2 additions and 1 deletions
|
|
@ -190,7 +190,8 @@ end = struct
|
||||||
spf "(could not decode status)\nraw bytes: %s" (str_to_hex body)
|
spf "(could not decode status)\nraw bytes: %s" (str_to_hex body)
|
||||||
in
|
in
|
||||||
Printf.eprintf
|
Printf.eprintf
|
||||||
"opentelemetry: error while sending:\n code=%d\n %s\n%!" code body
|
"opentelemetry: error while sending data to %s:\n code=%d\n %s\n%!"
|
||||||
|
url code body
|
||||||
);
|
);
|
||||||
()
|
()
|
||||||
| exception Sys.Break ->
|
| exception Sys.Break ->
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue