We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 528cd78 commit a99a0a7Copy full SHA for a99a0a7
testing.rst
@@ -610,6 +610,19 @@ will no longer be followed::
610
611
$client->followRedirects(false);
612
613
+Reporting Exceptions
614
+~~~~~~~~~~~~~~~~~~~~
615
+
616
+.. versionadded:: 3.4
617
+ The ``catchExceptions()`` method was introduced in Symfony 3.4.
618
619
+Debugging exceptions in functional tests may be difficult because by default
620
+they are caught and you need to look at the logs to see which exception was
621
+thrown. Disabling catching of exceptions in the test client allows the exception
622
+to be reported by PHPUnit::
623
624
+ $client->catchExceptions(false);
625
626
.. index::
627
single: Tests; Crawler
628
0 commit comments