Revert as this probably breaks other error code

This reverts commit 382acad3aa.
This commit is contained in:
peaklabs-dev
2024-12-13 21:19:12 +01:00
parent 382acad3aa
commit 8c07a36d9c

View File

@@ -6,8 +6,8 @@
<p class="text-base leading-7 text-neutral-300">There has been an error, we are working on it.
</p>
@if ($exception->getMessage() !== '')
<div class="mt-6 text-xs text-left text-red-500">Error: {!! Str::of($exception->getMessage())->sanitizeHtml() !!}
</div>
<code class="mt-6 text-xs text-left text-red-500">Error: {{ $exception->getMessage() }}
</code>
@endif
<div class="flex items-center mt-10 gap-x-6">
<a href="/">