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

BUG: Sentry: (FunctionClauseError) no function clause matches

Aberta
#688 7 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Elixir
Estrelas
234
Forks
82
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.