Skip to content

Commit 9020210

Browse files
committed
fully print out request body
1 parent 6c75090 commit 9020210

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.evergreen/perf_send.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
'use strict';
33

44
import * as fs from 'fs/promises';
5+
import { inspect } from 'util';
56
console.log(process.versions);
67
const API_PATH = "https://performance-monitoring-service-rest.server-tig.prod.corp.mongodb.com/raw_perf_results"
78

@@ -38,7 +39,7 @@ const body = {
3839
results: JSON.parse(results)
3940
};
4041

41-
console.log(body);
42+
console.log(inspect(body, { depth: Infinity }));
4243

4344
const resp = await fetch(API_PATH, {
4445
method: "POST",

0 commit comments

Comments
 (0)