You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Java SDK for pushing metrics to the databox. I use the push() method. Although I noticed, even though there are errors in the response let's say "502 bad gateway " "Service Unavailable", the code just logs an INFO and always returns true as a response. I see there is a TODO remark there, and recommended to use the Get or Post method: //TODO: This must be overwritten. No time was scheduled to do this. Sorry. ;( Check 'post' and 'get' methods
But those methods are private. is there any way that I can get the exact response code or response string, returned by the databox instead of always true with INFO log in the console?
Please let us know.
The text was updated successfully, but these errors were encountered:
I am using Java SDK for pushing metrics to the databox. I use the push() method. Although I noticed, even though there are errors in the response let's say "502 bad gateway " "Service Unavailable", the code just logs an INFO and always returns true as a response. I see there is a TODO remark there, and recommended to use the Get or Post method: //TODO: This must be overwritten. No time was scheduled to do this. Sorry. ;( Check 'post' and 'get' methods
But those methods are private. is there any way that I can get the exact response code or response string, returned by the databox instead of always true with INFO log in the console?
Please let us know.
The text was updated successfully, but these errors were encountered: