ui: better training validation output

This commit is contained in:
undefined committed 2022-08-09 20:35:44 +08:00
1 parent 9a44422522
commit 6bda0e58d3
9 files changed
+13 -6

No files matched your search

+5 -1
View File
@@ -12,7 +12,11 @@
<p>{{ _('Arguments') }}:
<ol>
{%- for param in error.params -%}
<li>{{ param }}</li>
{% if instanceof(param, UserFacingError) %}
<li>{{ _(param.message).formatFromArray(param.params)}}</li>
{% else %}
<li>{{ param }}</li>
{% endif %}
{%- endfor -%}
</ol>
</p>