mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -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)
|
||||
in
|
||||
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 ->
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue