We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 449c43f commit 0ce6cacCopy full SHA for 0ce6cac
1 file changed
src/plugins/factory/_customResult.js
@@ -68,6 +68,9 @@ module.exports = function(app) {
68
this.logger.printf('Response Result', `${this.method} ${this.path}`, '\n',
69
JSON.stringify(Object.keys(json).reduce((obj, key) => {
70
obj[key] = JSON.stringify(json[key]);
71
+ if (obj[key] && obj[key].length > 100) {
72
+ obj[key] = obj[key].slice(0, 100) + '...';
73
+ }
74
return obj;
75
}, {}), null, 4)
76
);
0 commit comments