You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #23266 Display a better error message when the toolbar cannot be displayed (javiereguiluz)
This PR was merged into the 2.7 branch.
Discussion
----------
Display a better error message when the toolbar cannot be displayed
| Q | A
| ------------- | ---
| Branch? | 2.7
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #23264
| License | MIT
| Doc PR | -
In action:

Commits
-------
cc7275b Display a better error message when the toolbar cannot be displayed
<div class="sfErrorToolbar">An error occurred while loading the web debug toolbar. <a href="{{ path("_profiler", { "token": token }) }}">Open the web profiler.</a></div>
67
+
';
68
+
60
69
if (xhr.status!==0) {
61
-
confirm('An error occurred while loading the web debug toolbar ('+xhr.status+': '+xhr.statusText+').\n\nDo you want to open the profiler?') && (window.location='{{ path("_profiler", { "token": token }) }}');
0 commit comments