Skip to content

Commit

Permalink
CV2-4233 yet another log (#1789)
Browse files Browse the repository at this point in the history
  • Loading branch information
DGaffney authored Feb 2, 2024
1 parent 19b6e38 commit 0774ad4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/models/concerns/alegre_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ def run_request(http, request)
def parse_response(http, request)
release_db
response = run_request(http, request)
response_body = response.body
Rails.logger.info("[Alegre Bot] Alegre Bot response and body: (#{response.inspect}, #{response_body})")
reconnect_db
JSON.parse(response.body)
JSON.parse(response_body)
end

def request(method, path, params, retries=3)
Expand Down

0 comments on commit 0774ad4

Please sign in to comment.