File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
src/Symfony/Bundle/WebProfilerBundle/Resources/views Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 15
15
<thead >
16
16
<tr >
17
17
<th >Method</th >
18
+ <th >Status</th >
18
19
<th >URL</th >
19
20
<th >Time</th >
20
21
<th >Profile</th >
Original file line number Diff line number Diff line change 110
110
methodCell .textContent = request .method ;
111
111
row .appendChild (methodCell);
112
112
113
+ var statusCodeCell = document .createElement (' td' );
114
+ if (request .statusCode ) {
115
+ statusCodeCell .textContent = request .statusCode ;
116
+ } else {
117
+ statusCodeCell .textContent = ' -' ;
118
+ }
119
+ row .appendChild (statusCodeCell);
120
+
113
121
var pathCell = document .createElement (' td' );
114
122
pathCell .className = ' sf-ajax-request-url' ;
115
123
if (' GET' === request .method ) {
241
249
stackElement .duration = new Date () - stackElement .start ;
242
250
stackElement .loading = false ;
243
251
stackElement .error = self .status < 200 || self .status >= 400 ;
252
+ stackElement .statusCode = self .status ;
244
253
stackElement .profile = self .getResponseHeader (" X-Debug-Token" );
245
254
stackElement .profilerUrl = self .getResponseHeader (" X-Debug-Token-Link" );
246
255
You can’t perform that action at this time.
0 commit comments