Skip to content

Commit

Permalink
disable GQL error handler
Browse files Browse the repository at this point in the history
  • Loading branch information
DDEV-Local User committed Sep 21, 2020
1 parent 4c5ba6e commit d4d830a
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions GraphQl/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,10 @@
namespace Fsw\ErrorSieve\GraphQl;

use Fsw\ErrorSieve\Model\ExceptionSieve;
use Magento\Framework\GraphQl\Query\ErrorHandlerInterface;
//use Magento\Framework\GraphQl\Query\ErrorHandlerInterface;

class ErrorHandler implements ErrorHandlerInterface
class ErrorHandler //implements ErrorHandlerInterface
{
/**
* Handle errors
*
* @param \GraphQL\Error\Error $errors
* @param callable $formatter
*
* @return array
*/
public function handle(array $errors, callable $formatter): array
{
foreach ($errors as $e) {
Expand Down

0 comments on commit d4d830a

Please sign in to comment.