render error.name

This commit is contained in:
tamaina 2024-03-06 09:56:03 +00:00
parent 0b1fee77b4
commit bde26c12c5
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ function boot() {
const summaryElement = document.createElement('summary');
const titleCodeElement = document.createElement('code');
titleCodeElement.textContent = `ERROR CODE: ${code}`;
titleCodeElement.textContent = `ERROR CODE: ${code} (${details.name})`;
summaryElement.appendChild(titleCodeElement);
errorEl.appendChild(summaryElement);