2022-08-25 06:10:48 +02:00
|
|
|
<script>
|
|
|
|
import { page } from '$app/stores';
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div class="h-screen w-screen flex place-items-center place-content-center flex-col">
|
2023-01-11 04:06:27 +01:00
|
|
|
<div class="min-w-[500px] max-w-[95vw] bg-gray-300 rounded-2xl my-4 p-4">
|
2022-08-25 06:10:48 +02:00
|
|
|
<code class="text-xs text-red-500">Error code {$page.status}</code>
|
|
|
|
<br />
|
|
|
|
<code class="text-sm">
|
2022-09-17 06:13:22 +02:00
|
|
|
{$page.error?.message}
|
2022-08-25 06:10:48 +02:00
|
|
|
</code>
|
|
|
|
<br />
|
|
|
|
<div class="mt-5">
|
|
|
|
<p class="text-sm font-medium">Verbose</p>
|
2022-09-17 06:13:22 +02:00
|
|
|
<pre class="text-xs">{JSON.stringify($page.error)}</pre>
|
2022-08-25 06:10:48 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<a
|
|
|
|
href="https://github.com/immich-app/immich/issues/new/choose"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="px-5 py-2 rounded-lg text-sm mt-6 bg-immich-primary text-white hover:bg-immich-primary/75"
|
|
|
|
>Get help</button
|
|
|
|
>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|