Skip to content

Commit f267d3c

Browse files
authored
shouldExceptionCaptureBeSkipped method visibilty
Since `skipCapture` property is protected method `shouldExceptionCaptureBeSkipped` should also be protected. Otherwise sometimes if class is extended it must be implemented by copy&paste.
1 parent 986a080 commit f267d3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EventListener/ExceptionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function onConsoleException(ConsoleExceptionEvent $event)
142142
$this->client->captureException($exception, $data);
143143
}
144144

145-
private function shouldExceptionCaptureBeSkipped(\Exception $exception)
145+
protected function shouldExceptionCaptureBeSkipped(\Exception $exception)
146146
{
147147
foreach ($this->skipCapture as $className) {
148148
if ($exception instanceof $className) {

0 commit comments

Comments
 (0)