Closed solnic closed 1 month ago
This ensures that we rely on status returned from Vernier.start_profile when setting profiler's @started value and also now Sentry::Vernier::Profiler#stop will fail gracefully when for whatever reason stopping crashed.
Vernier.start_profile
@started
Sentry::Vernier::Profiler#stop
Fixes #2425
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 98.67%. Comparing base (499cbac) to head (760804d). Report is 1 commits behind head on master.
499cbac
760804d
This ensures that we rely on status returned from
Vernier.start_profile
when setting profiler's@started
value and also nowSentry::Vernier::Profiler#stop
will fail gracefully when for whatever reason stopping crashed.Fixes #2425