Skip to content

Commit 16caffd

Browse files
authored
[HttpKernel] Fix timeline in profiler
Simple fix to #42804
1 parent bff930a commit 16caffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataCollector/TimeDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function collect(Request $request, Response $response/*, \Throwable $exce
4747
}
4848

4949
$this->data = [
50-
'token' => $response->headers->get('X-Debug-Token'),
50+
'token' => $request->attributes->get('_stopwatch_token'),
5151
'start_time' => $startTime * 1000,
5252
'events' => [],
5353
'stopwatch_installed' => class_exists(Stopwatch::class, false),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy