Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
developer mode bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
peterivitz committed May 17, 2016
1 parent 50fb22e commit ce06d8f
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,12 @@ protected void sendRequestWithPayload(String payload, File fileToSend) throws IO
try {
if(ApplicationInsights.isDeveloperMode()) {
InternalLogging.info(TAG, "Logging payload", payload);
writer = getWriter(connection);
writer.write(payload);
writer.flush();
}

writer = getWriter(connection);
writer.write(payload);
writer.flush();

// Starts the query
connection.connect();

Expand Down

0 comments on commit ce06d8f

Please sign in to comment.