• Kamil Trzciński's avatar
    Refactor Sentry handling · 1ee162b6
    Kamil Trzciński authored
    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
    1ee162b6
profiler.rb 6.12 KB