Skip to content

Commit

Permalink
Fixed indentation for the rescue block
Browse files Browse the repository at this point in the history
  • Loading branch information
adviti-mishra committed Jul 17, 2024
1 parent 877f41c commit 16c9c00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mongoid/interceptable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ def _mongoid_run_child_callbacks_with_around(kind, children: nil, &block)

fibers.reverse.each(&:resume)

rescue FiberError
raise Mongoid::Errors::InvalidAroundCallback
rescue FiberError
raise Mongoid::Errors::InvalidAroundCallback
end

# Execute the callbacks of given kind for embedded documents without
Expand Down

0 comments on commit 16c9c00

Please sign in to comment.