Skip to content

Commit

Permalink
4 characters for Rescue id.
Browse files Browse the repository at this point in the history
  • Loading branch information
apotonick committed Jun 27, 2023
1 parent f8550d0 commit 16dab56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/trailblazer/macro/rescue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def self.deprecate_positional_handler_signature(handler)
# TODO: for legacy reasons, we pass `:id` to {#id_for}. In 2.2, remove the id hint and use
# generic {Macro.id_for} behavior.
def self.random_id
Macro.id_for(nil, macro: :Rescue, id: rand(100))
Macro.id_for(nil, macro: :Rescue, id: rand(1000))
end
end
end
Expand Down

0 comments on commit 16dab56

Please sign in to comment.