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

Commit

Permalink
fix problem with skipping some messages in HttpLogger.js (openzipkin#105
Browse files Browse the repository at this point in the history
)
  • Loading branch information
struhtanov authored and adriancole committed Jul 4, 2017
1 parent 074d31c commit 24004df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/zipkin-transport-http/src/HttpLogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ class HttpLogger {
console.error('Unexpected response while sending Zipkin data, status:' +
`${response.status}, body: ${postBody}`);
}
this.queue.length = 0;
}).catch((error) => {
console.error('Error sending Zipkin data', error);
this.queue.length = 0;
});
this.queue.length = 0;
}
}
}
Expand Down

0 comments on commit 24004df

Please sign in to comment.