Skip to content

Commit 54c45be

Browse files
author
Mikk Mihkel Nurges
committed
Merge branch 'release/v1.19.0'
2 parents 5cd9783 + ebc0652 commit 54c45be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rebing/GraphQL/GraphQL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public static function handleErrors(array $errors, callable $formatter)
296296
foreach ($errors as $error) {
297297
// Try to unwrap exception
298298
$error = $error->getPrevious() ?: $error;
299-
if ($error instanceof \Exception) {
299+
if ($error instanceof \Exception && !($error instanceof ValidationError)) {
300300
$handler->report($error);
301301
}
302302
}

0 commit comments

Comments
 (0)