active_campaign icon indicating copy to clipboard operation
active_campaign copied to clipboard

Fix exception: NoMethodError: "undefined method `status' for #<Faraday::TimeoutError:...>"

Open kapcod opened this issue 3 years ago • 2 comments

Somehow Faraday::TimeoutError object is passed as response parameter. In this case it doesn't have status or body, but the request url/headers still matter. Probably the bug is in a different place that passes the invalid response parameter, but even if that bug will be found and fixed, this change can stay as a failsafe.

kapcod avatar May 18 '21 12:05 kapcod

Code Climate has analyzed commit 4950836f and detected 9 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 9

View more on Code Climate.

codeclimate[bot] avatar May 18 '21 12:05 codeclimate[bot]

+1 any possibility to merge this @mhenrixon?

reinaris avatar Jul 15 '21 08:07 reinaris