Skip to content

The response is not valid for errors #5

Description

@SrishtiSingh-eu

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions