Skip to content

Commit

Permalink
Remove unused rescue.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Feb 13, 2025
1 parent 2277c2d commit 3a08e13
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/metrics/provider/async/task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ def schedule(&block)
ASYNC_TASK_SCHEDULED.emit(1)

super(&block)
rescue => error
raise
ensure
ASYNC_TASK_FINISHED.emit(1)
end
Expand Down

0 comments on commit 3a08e13

Please sign in to comment.