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:
Fabien Potencier 2017-09-29 14:06:07 -07:00
commit da0bf9981f

View File

@ -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') }}