Skip to content

Commit 4345e08

Browse files
makmaouiOskarStark
authored andcommitted
Fix timeout exception thrown
1 parent a8835d9 commit 4345e08

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)