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.
This commit is contained in:
parent
67398c7728
commit
7645484ac3
@ -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?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user