amadeus-java icon indicating copy to clipboard operation
amadeus-java copied to clipboard

Log messages from IOException triggered in fetch method

Open jabrena opened this issue 2 years ago • 0 comments

It is necessary to trace errors from fetch method:

  private Request fetch(Request request) throws NetworkException {
    try {
      request.establishConnection();
      write(request);
    } catch (IOException e) {
      throw new NetworkException(new Response(request));
    }
    return request;
  }

jabrena avatar Jun 01 '22 15:06 jabrena