diff --git a/modifiers/j.js b/modifiers/j.js index 51cdd90..b467183 100644 --- a/modifiers/j.js +++ b/modifiers/j.js @@ -15,7 +15,9 @@ module.exports = function (value/*, placeholder, argIndex, args*/) { try { return JSON.stringify(value, null, 2); } catch (e) { - if (e.message === CIRCULAR_JSON_ERROR_MESSAGE) return "[Circular JSON]"; + if (e.message === CIRCULAR_JSON_ERROR_MESSAGE) { + return ""; + } return ""; } };