You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +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:
committed by
GitHub
parent
af63d9bd05
commit
02ca5c78cf
@@ -164,13 +164,6 @@ export class OutgoingRequestProcessor {
|
|||||||
prefix: "",
|
prefix: "",
|
||||||
};
|
};
|
||||||
|
|
||||||
try {
|
return await this.http.authedRequest<string>(method, path, queryParams, body, opts);
|
||||||
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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user