code-corps / code-corps/code-corps-api

BUG: Sentry: (FunctionClauseError) no function clause matches

Đang mở
#688 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Elixir
Star
234
Fork
82
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# Problem

Sentry is reporting a Segment tracing error here:

https://sentry.io/code-corps/code-corps-api/issues/214738606/

At first glance, it's not directly related to our own code. It's failing during sentry's internal `log_result` step, due to receiving an unexpected `{:error, %HTTPoison.Error{id: nil, reason: :timeout}}` in the call as the first argument, after calling `identify`.

What it expects as the first argument is `{:error, %{status_code: status_code}}`

I'll look into it.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.