Don't log entire JSON payloads

This commit is contained in:
Bryan Ashby 2023-02-05 21:13:34 -07:00
parent 0402de7444
commit 27da2bb108
No known key found for this signature in database
GPG Key ID: C2C1B501E4EFD994
1 changed files with 0 additions and 2 deletions

View File

@ -5,7 +5,6 @@ const { isString, isObject, truncate } = require('lodash');
const https = require('https');
const httpSignature = require('http-signature');
const crypto = require('crypto');
const Log = require('./logger').log;
exports.getJson = getJson;
exports.postJson = postJson;
@ -29,7 +28,6 @@ function getJson(url, options, cb) {
}
}
Log.debug({ url: url, body: body }, 'Response from getJson');
let parsed;
try {
parsed = JSON.parse(body);