Skip to content

Commit 6debdcc

Browse files
committed
Move Fred helper string above error message
1 parent 2078ccd commit 6debdcc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

frontend/src/lib/components/modals/ErrorDetails.svelte

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,16 @@
6767
/>
6868
</p>
6969
</section>
70-
<section class={`${sectionClass} overflow-y-auto`}>
71-
<p class="font-mono">{error}</p>
72-
</section>
7370
{#if !allowOpeningDiscord}
71+
<!-- "Bait" so FICSIT Fred bot can respond people who just send a screenshot of the error modal with no debug logs -->
7472
<section class={`${sectionClass} text-center`}>
7573
<!-- This string intentionally not translated so Fred can always catch it! -->
7674
<p class="font-mono">Debug info not yet generated</p>
7775
</section>
7876
{/if}
77+
<section class={`${sectionClass} overflow-y-auto`}>
78+
<p class="font-mono">{error}</p>
79+
</section>
7980
<section class={sectionClass}>
8081
<p class={`text-base ${fullPageMode ? 'text-center' : ''}`}>
8182
<button

0 commit comments

Comments
 (0)