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

Commit

Permalink
Merge pull request #80 from peterivitz/developer-mode-bugfix
Browse files Browse the repository at this point in the history
developer mode bugfix
  • Loading branch information
dnduffy committed May 18, 2016
2 parents 50fb22e + ce06d8f commit fa7e74e
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 fa7e74e

Please sign in to comment.