Skip to content

Commit

Permalink
devops: Error messaging improved
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 committed May 14, 2024
1 parent 5fd5b73 commit e6e9b23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Constraint/QueryConstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ protected function findSubstring( $haystack, $needle, $search_type ) {
public function matches($response): bool {
// Ensure response is valid.
if ( ! $this->responseIsValid( $response ) ) {
$this->error_message = 'GraphQL response is invalid.';
return false;
}

Expand Down

0 comments on commit e6e9b23

Please sign in to comment.