nobt-io / frontend

Frontend of nobt.io.
https://nobt.io
GNU General Public License v3.0
10 stars 4 forks source link

Report errors for API requests to sentry #235

Open thomaseizinger opened 5 years ago

thomaseizinger commented 5 years ago

We are using application/problem+json for errors from the API. All errors which are not expected should be reported through sentry.

The only error we don't want to report are probably unknown nobt in order to avoid spamming.

Validation errors should be reported as well since we should catch those early on the frontend.