diff --git a/src/Illuminate/Http/Middleware/ValidatePostSize.php b/src/Illuminate/Http/Middleware/ValidatePostSize.php index bfa620a85f46..8b3519c92842 100644 --- a/src/Illuminate/Http/Middleware/ValidatePostSize.php +++ b/src/Illuminate/Http/Middleware/ValidatePostSize.php @@ -21,7 +21,7 @@ public function handle($request, Closure $next) $max = $this->getPostMaxSize(); if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) { - throw new PostTooLargeException; + throw new PostTooLargeException('The POST data is too large.'); } return $next($request);