omgnetwork / elixir-omg

OMG-Network repository of Watcher and Watcher Info
https://omg.network
Apache License 2.0
213 stars 59 forks source link

Ignoring 406 status code invalid header exception #1783

Closed DanielaIvanova closed 4 years ago

DanielaIvanova commented 4 years ago

:clipboard: #1588 closes #1588

Overview

The status code 406 exception which is being caused by receiving invalid request header "Accept" is now ignored by Sentry. This approach does not solve the problem, it only "suppresses" exception throws, only in regards of invalid accept headers set from user side.

Changes