SSR-Modul: Client errors mit Details-Aufklapper in jeder Zeile
Bisher gab es den Aufklapper nur bei Meldungen mit Stack. Jetzt hat jede Zeile "details" mit Zeit, Release, voller URL, kompletter Meldung, Stack (oder Hinweis "no stack transmitted"), vollem User-Agent und anonymisierter IP, damit sich jeder Fehler bewerten laesst (Wunsch Harry). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
08c02276e5
commit
37c4c116d0
1 file changed
+17
-6
@@ -160,12 +160,23 @@
|
||||
<f:else><span class="badge badge-danger">error</span> </f:else>
|
||||
</f:if>
|
||||
{row.message}
|
||||
<f:if condition="{row.stack}">
|
||||
<details style="margin-top:4px">
|
||||
<summary style="cursor:pointer" class="text-muted">stack</summary>
|
||||
<pre style="font-size:11px;white-space:pre-wrap;max-height:240px;overflow:auto">{row.stack}</pre>
|
||||
</details>
|
||||
</f:if>
|
||||
<details style="margin-top:4px">
|
||||
<summary style="cursor:pointer" class="text-muted">details</summary>
|
||||
<table class="table table-sm" style="margin:6px 0 0;font-size:11px;background:#fff">
|
||||
<tr><th style="width:90px">Reported</th><td><f:format.date format="Y-m-d H:i:s">@{row.crdate}</f:format.date> (entry #{row.uid})</td></tr>
|
||||
<tr><th>Release</th><td><code>{row.release}</code><f:if condition="!{row.release}"><span class="text-muted">not transmitted</span></f:if></td></tr>
|
||||
<tr><th>URL</th><td style="word-break:break-all"><a href="{row.url}" target="_blank" rel="noopener">{row.url}</a><f:if condition="!{row.url}"><span class="text-muted">not transmitted</span></f:if></td></tr>
|
||||
<tr><th>Message</th><td style="white-space:pre-wrap;word-break:break-word">{row.message}</td></tr>
|
||||
<tr><th>Stack</th><td>
|
||||
<f:if condition="{row.stack}">
|
||||
<f:then><pre style="font-size:11px;white-space:pre-wrap;max-height:320px;overflow:auto;margin:0">{row.stack}</pre></f:then>
|
||||
<f:else><span class="text-muted">no stack transmitted</span></f:else>
|
||||
</f:if>
|
||||
</td></tr>
|
||||
<tr><th>Browser</th><td style="word-break:break-all">{row.user_agent}<f:if condition="!{row.user_agent}"><span class="text-muted">not transmitted</span></f:if></td></tr>
|
||||
<tr><th>IP</th><td>{row.ip} <span class="text-muted">(anonymized)</span></td></tr>
|
||||
</table>
|
||||
</details>
|
||||
</td>
|
||||
<td><a href="{row.url}" target="_blank" rel="noopener" title="{row.url}">{row.path}</a></td>
|
||||
<td title="{row.user_agent}"><small>{row.ua_short}</small></td>
|
||||
|
||||
Reference in new issue
Block a user