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

BUG: Sentry: (FunctionClauseError) no function clause matches

Aperta
#688 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Elixir
Stelle
234
Fork
82
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

# 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.