Skip to content

Commit 6c75090

Browse files
committed
use .text instead of .json
1 parent fee984c commit 6c75090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.evergreen/perf_send.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const resp = await fetch(API_PATH, {
4949
});
5050

5151
if (resp.status !== 200) {
52-
throw new Error(`Got status code: ${resp.status}\nResponse body: ${await resp.json()}`);
52+
throw new Error(`Got status code: ${resp.status}\nResponse body: ${await resp.text()}`);
5353
}
5454

5555
console.log("Successfully posted results");

0 commit comments

Comments
 (0)