diff --git a/dashsight.js b/dashsight.js index 326e64f..ffb5f62 100644 --- a/dashsight.js +++ b/dashsight.js @@ -301,7 +301,7 @@ `http request was ${resp.status}, not ok. See err.response for details.`, ); // @ts-ignore - err.response = resp.json(); + err.response = await resp.text(); throw err; };