Describe the bug
Libdatadog error messages repeat the error message multiple times. For instance, I've started the Ruby profiler without a Datadog agent, and this is the libdatadog error message I see:
failed ddog_prof_Exporter_send: error trying to connect: tcp connect error: Connection refused (os error 111): tcp connect error: Connection refused (os error 111): Connection refused (os error 111)
Since these are user-visible error messages, it's not great to have them be somewhat confusing.
To Reproduce
Steps to reproduce the behavior:
- Try to report a profile with the exporter, and do not start the agent
- Observe the error message from the exporter
Expected behavior
An error message that's not repeated.
Describe the bug
Libdatadog error messages repeat the error message multiple times. For instance, I've started the Ruby profiler without a Datadog agent, and this is the libdatadog error message I see:
failed ddog_prof_Exporter_send: error trying to connect: tcp connect error: Connection refused (os error 111): tcp connect error: Connection refused (os error 111): Connection refused (os error 111)Since these are user-visible error messages, it's not great to have them be somewhat confusing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
An error message that's not repeated.