1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Element-R: don't log every HTTP request (#3780)

Since #3485, we log every request anyway, so there's no need to log twice.,
This commit is contained in:
Richard van der Hoff
2023-10-05 15:31:28 +01:00
committed by GitHub
parent af63d9bd05
commit 02ca5c78cf

View File

@@ -164,13 +164,6 @@ export class OutgoingRequestProcessor {
prefix: "",
};
try {
const response = await this.http.authedRequest<string>(method, path, queryParams, body, opts);
logger.info(`rust-crypto: successfully made HTTP request: ${method} ${path}`);
return response;
} catch (e) {
logger.warn(`rust-crypto: error making HTTP request: ${method} ${path}: ${e}`);
throw e;
}
return await this.http.authedRequest<string>(method, path, queryParams, body, opts);
}
}