Skip to content

Commit

Permalink
allow more than 100 levels of nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdem committed Aug 23, 2023
1 parent 3fffb8b commit 7774570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jenkins_api_client/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ def handle_exception(response, to_send = "code", send_json = false)
# the queue.
when 200, 201, 302
if to_send == "body" && send_json
return JSON.parse(response.body)
return JSON.parse!(response.body)
elsif to_send == "body"
return response.body
elsif to_send == "code"
Expand Down

0 comments on commit 7774570

Please sign in to comment.