fix(avocet): use startsWith for error class in ft-log (consistent with benchmark log)
This commit is contained in:
parent
95eb238add
commit
74ba9103cd
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@
|
||||||
v-for="(line, i) in ftLog"
|
v-for="(line, i) in ftLog"
|
||||||
:key="i"
|
:key="i"
|
||||||
class="log-line"
|
class="log-line"
|
||||||
:class="{ 'log-error': line.startsWith('ERROR') || line.includes('ERROR') }"
|
:class="{ 'log-error': line.startsWith('ERROR') || line.startsWith('[error]') }"
|
||||||
>{{ line }}</div>
|
>{{ line }}</div>
|
||||||
</div>
|
</div>
|
||||||
<p v-if="ftError" class="run-error">{{ ftError }}</p>
|
<p v-if="ftError" class="run-error">{{ ftError }}</p>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue