Skip to content

Commit ff1308d

Browse files
committed
bug #12164 Fix timeout exception thrown (makmaoui)
This PR was submitted for the 4.3 branch but it was merged into the 3.4 branch instead (closes #12164). Discussion ---------- Fix timeout exception thrown <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 4345e08 Fix timeout exception thrown
2 parents a8835d9 + 4345e08 commit ff1308d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/process.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ a different timeout (in seconds) to the ``setTimeout()`` method::
331331
$process->run();
332332

333333
If the timeout is reached, a
334-
:class:`Symfony\\Component\\Process\\Exception\\RuntimeException` is thrown.
334+
:class:`Symfony\\Component\\Process\\Exception\\ProcessTimedOutException` is thrown.
335335

336336
For long running commands, it is your responsibility to perform the timeout
337337
check regularly::

0 commit comments

Comments
 (0)