File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11<?php
22namespace Networkteam \SentryClient \Handler ;
33
4- use Neos \Flow \Annotations as Flow ;
54use Neos \Flow \Core \Bootstrap ;
5+ use Neos \Flow \Error \DebugExceptionHandler as DebugExceptionHandlerBase ;
66use Neos \Flow \ObjectManagement \ObjectManagerInterface ;
77use Networkteam \SentryClient \ErrorHandler ;
88
9- class DebugExceptionHandler extends \ Neos \ Flow \ Error \DebugExceptionHandler
9+ class DebugExceptionHandler extends DebugExceptionHandlerBase
1010{
1111
1212 /**
@@ -21,7 +21,7 @@ public function echoExceptionWeb($exception)
2121 /**
2222 * {@inheritdoc}
2323 */
24- public function echoExceptionCLI ($ exception )
24+ public function echoExceptionCLI (\ Throwable $ exception )
2525 {
2626 $ this ->sendExceptionToSentry ($ exception );
2727 parent ::echoExceptionCLI ($ exception );
Original file line number Diff line number Diff line change 11<?php
22namespace Networkteam \SentryClient \Handler ;
33
4- use Neos \Flow \Annotations as Flow ;
54use Neos \Flow \Core \Bootstrap ;
5+ use Neos \Flow \Error \ProductionExceptionHandler as ProductionExceptionHandlerBase ;
66use Neos \Flow \ObjectManagement \ObjectManagerInterface ;
77use Networkteam \SentryClient \ErrorHandler ;
88
9- class ProductionExceptionHandler extends \ Neos \ Flow \ Error \ProductionExceptionHandler
9+ class ProductionExceptionHandler extends ProductionExceptionHandlerBase
1010{
1111
1212 /**
@@ -21,7 +21,7 @@ public function echoExceptionWeb($exception)
2121 /**
2222 * {@inheritdoc}
2323 */
24- public function echoExceptionCLI ($ exception )
24+ public function echoExceptionCLI (\ Throwable $ exception )
2525 {
2626 $ this ->sendExceptionToSentry ($ exception );
2727 parent ::echoExceptionCLI ($ exception );
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ There was a failure in the versioning scheme for the client from 1.0.3 on. This
1818
1919| Flow | SentryClient |
2020| -----------------| -------------|
21- | >= 4.0.0 | 4.x |
21+ | >= 5.0.0 | 5.x |
22+ | >= 4.0.0 < 5.0 | 4.x |
2223| >=2.3.9, >=3.0.3 | 3.x, >1.0.3 |
2324| <2.3.9, <3.0.3 | 2.x, <1.0.3 |
2425
You can’t perform that action at this time.
0 commit comments