0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 07:29:08 -05:00

Add internal links for long error reports

This commit is contained in:
Andrés Moya 2021-02-17 16:27:45 +01:00 committed by Andrey Antukh
parent e96d2336cf
commit 0f35906930

View file

@ -143,8 +143,18 @@
</div>
{% endif %}
{% if explain %}
<div>(<a href="#explain">go to explain</a>)</div>
{% endif %}
{% if data %}
<div>(<a href="#edata">go to edata</a>)</div>
{% endif %}
{% if error %}
<div>(<a href="#trace">go to trace</a>)</div>
{% endif %}
{% if params %}
<div class="table-row multiline">
<div id="params" class="table-row multiline">
<div class="table-key">PARAMS: </div>
<div class="table-val">
<pre>{{params}}</pre>
@ -153,7 +163,7 @@
{% endif %}
{% if explain %}
<div class="table-row multiline">
<div id="explain" class="table-row multiline">
<div class="table-key">EXPLAIN: </div>
<div class="table-val">
<pre>{{explain}}</pre>
@ -162,7 +172,7 @@
{% endif %}
{% if data %}
<div class="table-row multiline">
<div id="edata" class="table-row multiline">
<div class="table-key">EDATA: </div>
<div class="table-val">
<pre>{{data}}</pre>
@ -171,7 +181,7 @@
{% endif %}
{% if error %}
<div class="table-row multiline">
<div id="trace" class="table-row multiline">
<div class="table-key">TRACE:</div>
<div class="table-val">
<pre>{{error.trace}}</pre>