Skip to content

Commit

Permalink
Fix only logging payload size when enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
zodern committed Aug 10, 2023
1 parent 806429a commit fef8cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kadira.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Kadira._sendPayload = function () {
new Fibers(function () {
let payload = Kadira._buildPayload();

if (!DEBUG_PAYLOAD_SIZE) {
if (DEBUG_PAYLOAD_SIZE) {
logPayload(payload);
}

Expand Down

0 comments on commit fef8cee

Please sign in to comment.