better log msg

This commit is contained in:
Timo K
2026-01-19 13:54:46 +01:00
parent 94bcb1bb27
commit a7008d37c6

View File

@@ -347,10 +347,9 @@ async function makeTransport(
} catch (ex) {
if (ex instanceof MatrixError && ex.httpStatus === 404) {
// Expected, this is an unstable endpoint and it's not required.
// There will be expected 404 errors in the console. When we check if synapse supports the endpoint.
logger.debug(
"Backend does not provide any RTC transports (will retry with well-known.)",
"Your server admin needs to update the matrix homeserver.",
"(The 404 erros in the console above are expectet to check if synapse supports the endpoint.)",
"Matrix homeserver does not provide any RTC transports via `/rtc/transports` (will retry with well-known.)",
);
} else if (ex instanceof FailToGetOpenIdToken) {
throw ex;