bug #37690 HttpClient profiler error (noniagriconomie)
This PR was merged into the 5.1 branch.
Discussion
----------
HttpClient profiler error
| Q | A
| ------------- | ---
| Branch? | 5.1
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix
| License | MIT
| Doc PR | symfony/symfony-docs
When no error occurs making http request, the span was red, it is wierd
Commits
-------
5199f1f9f3
HttpClient profiler error
This commit is contained in:
commit
2ee10004c9
@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<div class="sf-toolbar-info-piece">
|
||||
<b>HTTP errors</b>
|
||||
<span class="sf-toolbar-status sf-toolbar-status-red">{{ collector.errorCount }}</span>
|
||||
<span class="sf-toolbar-status {{ collector.errorCount > 0 ? 'sf-toolbar-status-red' }}">{{ collector.errorCount }}</span>
|
||||
</div>
|
||||
{% endset %}
|
||||
|
||||
|
Reference in New Issue
Block a user