feat(frontend): show error ID for internal server errors

This commit is contained in:
sam 2025-01-30 02:00:49 +01:00
parent 83b62b4845
commit a0ba712632
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
8 changed files with 1554 additions and 25 deletions

View file

@ -18,6 +18,14 @@
</svelte:element>
{/if}
<p>{errorDescription($t, error.code)}</p>
{#if error.error_id}
<p>
{$t("error.error-id")}
<code>
{error.error_id}
</code>
</p>
{/if}
{#if error.errors}
<details>
<summary>{$t("error.extra-info-header")}</summary>