Skip to content

Commit a91ca99

Browse files
Merge branch '5.1' into 5.2
* 5.1: minor cs fix [Config][TwigBundle] Fixed syntax error in config [DI] Fix Xdebug 3.0 detection Use php8 stable [Notifier] Streamline changelogs of notifier bridges [Cache] fix checking for redis_sentinel support [Messenger] Fixed wording in php doc [Intl] Update the ICU data to 68.1 [FrameworkBundle] acces public-deprecated services via the private container to remove false-positive deprecations Remove unused @throws tags and handling of never thrown exceptions [PhpUnitBridge] Fix disabling DeprecationErrorHandler from phpunit configuration file
2 parents a76e41e + 4582ed1 commit a91ca99

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
@@ -57,12 +57,7 @@ public function collect(Request $request, Response $response, \Throwable $except
5757
}
5858
}
5959

60-
try {
61-
$content = $request->getContent();
62-
} catch (\LogicException $e) {
63-
// the user already got the request content as a resource
64-
$content = false;
65-
}
60+
$content = $request->getContent();
6661

6762
$sessionMetadata = [];
6863
$sessionAttributes = [];

0 commit comments

Comments
 (0)