Skip to content

Commit 41e6be9

Browse files
authored
Fix timeout exception thrown
1 parent 4ed3066 commit 41e6be9

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
@@ -363,7 +363,7 @@ a different timeout (in seconds) to the ``setTimeout()`` method::
363363
$process->run();
364364

365365
If the timeout is reached, a
366-
:class:`Symfony\\Component\\Process\\Exception\\RuntimeException` is thrown.
366+
:class:`Symfony\\Component\\Process\\Exception\\ProcessTimedOutException` is thrown.
367367

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

0 commit comments

Comments
 (0)