From 7645484ac335f6a2ceee8978935a7a1e9e190109 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Fri, 30 Aug 2024 10:15:56 +0800 Subject: [PATCH] utils/github/api: add debug output for `open_graphql` Our updating sponsors/maintainers/etc workflow is broken. Let's add some debug output to help me fix it. --- Library/Homebrew/utils/github/api.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/utils/github/api.rb b/Library/Homebrew/utils/github/api.rb index e24b78af61..71eda0b57a 100644 --- a/Library/Homebrew/utils/github/api.rb +++ b/Library/Homebrew/utils/github/api.rb @@ -334,6 +334,7 @@ module GitHub def self.open_graphql(query, variables: nil, scopes: [].freeze, raise_errors: true) data = { query:, variables: } result = open_rest("#{API_URL}/graphql", scopes:, data:, request_method: "POST") + odebug "GraphQL Query Response", result if raise_errors if result["errors"].present?