fix: error rendering

This commit is contained in:
peaklabs-dev
2025-01-06 17:49:55 +01:00
parent 503d2b4866
commit a29547b3ba
2 changed files with 13 additions and 13 deletions

View File

@@ -3,11 +3,11 @@
<div>
<p class="font-mono font-semibold text-red-500 text-7xl">500</p>
<h1 class="mt-4 font-bold tracking-tight dark:text-white">Wait, this is not cool...</h1>
<p class="text-base leading-7 text-neutral-300">There has been an error, we are working on it.
</p>
<p class="text-base leading-7 text-neutral-300">There has been an error, we are working on it.</p>
@if ($exception->getMessage() !== '')
<code class="mt-6 text-xs text-left text-red-500">Error: {{ $exception->getMessage() }}
</code>
<div class="mt-6 text-xs text-left text-red-500 whitespace-pre-wrap">
Error: {!! nl2br(e($exception->getMessage())) !!}
</div>
@endif
<div class="flex items-center mt-10 gap-x-6">
<a href="/">