diff --git a/dbtestcall.py b/dbtestcall.py index d88d100..4fad861 100644 --- a/dbtestcall.py +++ b/dbtestcall.py @@ -21,7 +21,7 @@ def RunQuery(): data = dict() data['signature'] = row[0] data['errors'] = row[1] - # data['errors_array'] = row[1].split(';') + data['errors_array'] = row[1].split(';') data['is_executed'] = row[2] data['is_confirmed'] = row[3] data['cu_requested'] = row[4] diff --git a/templates/table.html b/templates/table.html index f16b157..5784990 100644 --- a/templates/table.html +++ b/templates/table.html @@ -49,11 +49,13 @@ {{ tx.cu_requested|default('no CU', True) }} {{ tx.prioritization_fees|default('no fees', True) }} + {% for error in tx.errors_array %}
{{ tx.errors }} + class="font-monospace text-danger">{{ error }}
+ {% endfor %} {% endfor %}