Add logging on MSC4108 DELETE request (#5140)

Just noticed these requests aren't logged,
which makes debugging difficult.
This is very drive-by, done in the web editor.

Co-authored-by: R Midhun Suresh <hi@midhun.dev>
This commit is contained in:
Olivier 'reivilibre
2026-02-05 10:13:44 +00:00
committed by GitHub
parent 24cc17c270
commit fb590627bb
@@ -262,7 +262,9 @@ export class MSC4108RendezvousSession {
if (!this.url) return;
try {
await this.fetch(this.url, { method: Method.Delete });
const method = Method.Delete;
logger.info(`=> ${method} ${this.url}`);
await this.fetch(this.url, { method });
} catch (e) {
logger.warn(e);
}