Skip to content

Commit d48ef23

Browse files
committed
Merge branch '2.5' into 2.6
2 parents 2c9f0af + e820faa commit d48ef23

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Codeception/Lib/Connector/Laravel5/ExceptionHandlerDecorator.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ public function report(Exception $e)
4949
{
5050
$this->laravelExceptionHandler->report($e);
5151
}
52+
53+
/**
54+
* Determine if the exception should be reported.
55+
*
56+
* @param \Exception $e
57+
* @return bool
58+
*/
59+
public function shouldReport(Exception $e)
60+
{
61+
return $this->exceptionHandlingDisabled;
62+
}
5263

5364
/**
5465
* @param $request

0 commit comments

Comments
 (0)