diff --git a/src/Symfony/Component/HttpFoundation/Request.php b/src/Symfony/Component/HttpFoundation/Request.php index 424a2ed09f..8babb395c5 100644 --- a/src/Symfony/Component/HttpFoundation/Request.php +++ b/src/Symfony/Component/HttpFoundation/Request.php @@ -480,7 +480,7 @@ class Request try { $content = $this->getContent(); } catch (\LogicException $e) { - trigger_error($e->getMessage(), E_USER_ERROR); + return trigger_error($e, E_USER_ERROR); } return