render error.name
This commit is contained in:
parent
0b1fee77b4
commit
bde26c12c5
|
@ -223,7 +223,7 @@ function boot() {
|
||||||
|
|
||||||
const summaryElement = document.createElement('summary');
|
const summaryElement = document.createElement('summary');
|
||||||
const titleCodeElement = document.createElement('code');
|
const titleCodeElement = document.createElement('code');
|
||||||
titleCodeElement.textContent = `ERROR CODE: ${code}`;
|
titleCodeElement.textContent = `ERROR CODE: ${code} (${details.name})`;
|
||||||
summaryElement.appendChild(titleCodeElement);
|
summaryElement.appendChild(titleCodeElement);
|
||||||
errorEl.appendChild(summaryElement);
|
errorEl.appendChild(summaryElement);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue