Skip to content

Commit 4582ed1

Browse files
Merge branch '4.4' into 5.1
* 4.4: minor cs fix [Config][TwigBundle] Fixed syntax error in config [DI] Fix Xdebug 3.0 detection Use php8 stable [Cache] fix checking for redis_sentinel support [Intl] Update the ICU data to 68.1 Remove unused @throws tags and handling of never thrown exceptions [PhpUnitBridge] Fix disabling DeprecationErrorHandler from phpunit configuration file
2 parents ac934a8 + 9a87bc7 commit 4582ed1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

DataCollector/RequestDataCollector.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,7 @@ public function collect(Request $request, Response $response, \Throwable $except
5151
}
5252
}
5353

54-
try {
55-
$content = $request->getContent();
56-
} catch (\LogicException $e) {
57-
// the user already got the request content as a resource
58-
$content = false;
59-
}
54+
$content = $request->getContent();
6055

6156
$sessionMetadata = [];
6257
$sessionAttributes = [];

0 commit comments

Comments
 (0)