minor #24381 Improve error message when stopwatch is not installed (fabpot)
This PR was merged into the 4.0-dev branch.
Discussion
----------
Improve error message when stopwatch is not installed
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
Commits
-------
ec2aaace23
improved error message
This commit is contained in:
commit
da0bf9981f
@ -91,7 +91,7 @@
|
||||
|
||||
{% if collector.events is empty %}
|
||||
<div class="empty">
|
||||
<p>No timing events have been recorded. Are you sure that debugging is enabled in the kernel?</p>
|
||||
<p>No timing events have been recorded. Check that symfony/stopwatch is installed and debugging enabled in the kernel.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{{ block('panelContent') }}
|
||||
|
Reference in New Issue
Block a user