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 26493f3 commit b4fd044Copy full SHA for b4fd044
testing.rst
@@ -521,6 +521,19 @@ will no longer be followed::
521
522
$client->followRedirects(false);
523
524
+Reporting Exceptions
525
+~~~~~~~~~~~~~~~~~~~~
526
+
527
+.. versionadded:: 3.4
528
+ The ``catchExceptions()`` method was introduced in Symfony 3.4.
529
530
+Debugging exceptions in functional tests may be difficult because by default
531
+they are caught and you need to look at the logs to see which exception was
532
+thrown. Disabling catching of exceptions in the test client allows the exception
533
+to be reported by PHPUnit::
534
535
+ $client->catchExceptions(false);
536
537
.. index::
538
single: Tests; Crawler
539
0 commit comments