diff --git a/ui/common/src/permalog.ts b/ui/common/src/permalog.ts index 9ddca4515ddf..a26a537dfaea 100644 --- a/ui/common/src/permalog.ts +++ b/ui/common/src/permalog.ts @@ -100,7 +100,7 @@ function makeLog(): LichessLog { log(`${terseHref()} - ${e.reason}`); if (site.debug) domDialog({ - htmlText: escapeHtml(e.reason), + htmlText: escapeHtml(e.reason.toString()), class: 'debug', show: true, });