Commit 1ee162b6 authored by Kamil Trzciński's avatar Kamil Trzciński 🔴 Committed by Bob Van Landuyt

Refactor Sentry handling

Rename methods of Sentry class:
- `track_acceptable_exception` => `track_exception`: we just want
   to capture exception
- `track_exception` => `track_and_raise_for_dev_exception`: as said,
- `track_and_raise_exception` => we want to capture
  and re-raise exception

Update exception tracking

- Remove `extra:` and instead accept hash,
- Update documentation to include the best practices,
- Remove manual logging of exceptions
parent bc085f11
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment