Skip to content

Commit

Permalink
Merge pull request #37 from jrichardlai/main
Browse files Browse the repository at this point in the history
  • Loading branch information
miyataka authored Aug 17, 2023
2 parents 85921cc + 83e35c4 commit 0ad4d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fcmpush/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def legacy_authorized_header(headers)

def exception_handler(response)
error = STATUS_TO_EXCEPTION_MAPPING[response.code]
raise error.new("Receieved an error response #{response.code} #{error.to_s.split('::').last}: #{response.body}", response) if error
raise error.new("Received an error response #{response.code} #{error.to_s.split('::').last}: #{response.body}", response) if error

response
end
Expand Down

0 comments on commit 0ad4d3e

Please sign in to comment.