Skip to content

Commit d4d830a

Browse files
author
DDEV-Local User
committed
disable GQL error handler
1 parent 4c5ba6e commit d4d830a

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

GraphQl/ErrorHandler.php

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,10 @@
22
namespace Fsw\ErrorSieve\GraphQl;
33

44
use Fsw\ErrorSieve\Model\ExceptionSieve;
5-
use Magento\Framework\GraphQl\Query\ErrorHandlerInterface;
5+
//use Magento\Framework\GraphQl\Query\ErrorHandlerInterface;
66

7-
class ErrorHandler implements ErrorHandlerInterface
7+
class ErrorHandler //implements ErrorHandlerInterface
88
{
9-
/**
10-
* Handle errors
11-
*
12-
* @param \GraphQL\Error\Error $errors
13-
* @param callable $formatter
14-
*
15-
* @return array
16-
*/
179
public function handle(array $errors, callable $formatter): array
1810
{
1911
foreach ($errors as $e) {

0 commit comments

Comments
 (0)