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

BUG: Sentry: (FunctionClauseError) no function clause matches

Open
#688 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
234
Forks
82
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.