Closed oppegard closed 1 year ago
When using just ex.getMessage() the error message would look like:
ex.getMessage()
Unable to obtain status code from the Wavefront service at http://foo.bar/report?f=trace due to: foo.bar
Without the exception's class name it can be hard to know the real error. Now it looks like:
Unable to obtain status code from the Wavefront service at http://foo.bar/report?f=trace due to: java.net.UnknownHostException: foo.bar
Also, some small improvements to the Main.java demo so not include the deprecated WavefrontSenders.
When using just
ex.getMessage()
the error message would look like:Without the exception's class name it can be hard to know the real error. Now it looks like:
Also, some small improvements to the Main.java demo so not include the deprecated WavefrontSenders.