Skip to content

Commit 19d845c

Browse files
Move Seems Wrong error info text above the error message (#310 -> #324)
* Moving Seems Wrong section * Move Fred helper string above error message --------- Co-authored-by: Rob B <[email protected]>
1 parent f735959 commit 19d845c

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

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

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,6 @@
5959
<header class="card-header font-bold text-2xl text-center">
6060
<slot name="title" />
6161
</header>
62-
<section class={`${sectionClass} overflow-y-auto`}>
63-
<p class="font-mono">{error}</p>
64-
</section>
65-
{#if !allowOpeningDiscord}
66-
<section class={`${sectionClass} text-center`}>
67-
<!-- This string intentionally not translated so Fred can always catch it! -->
68-
<p class="font-mono">Debug info not yet generated</p>
69-
</section>
70-
{/if}
7162
<section class={sectionClass}>
7263
<p class={fullPageMode ? 'text-base text-center' : ''}>
7364
<T
@@ -76,6 +67,16 @@
7667
/>
7768
</p>
7869
</section>
70+
{#if !allowOpeningDiscord}
71+
<!-- "Bait" so FICSIT Fred bot can respond people who just send a screenshot of the error modal with no debug logs -->
72+
<section class={`${sectionClass} text-center`}>
73+
<!-- This string intentionally not translated so Fred can always catch it! -->
74+
<p class="font-mono">Debug info not yet generated</p>
75+
</section>
76+
{/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)