Skip to content

Commit

Permalink
Update src/http.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Tadeusz Sośnierz <tadzik@tadzik.net>
  • Loading branch information
Half-Shot and tadzik committed May 5, 2022
1 parent eca6c42 commit fed8994
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ export async function doHttpRequest(baseUrl: string, method: "GET"|"POST"|"PUT"|
const redactedBody = respIsBuffer ? '<Buffer>' : redactObjectForLogging(errBody);
LogService.error("MatrixHttpClient (REQ-" + requestId + ")", redactedBody);
throw new MatrixError(errBody, response.statusCode);
return;
}

// Don't log the body unless we're in debug mode. They can be large.
Expand Down

0 comments on commit fed8994

Please sign in to comment.