Skip to content

Commit

Permalink
chore: print record class without String or Record
Browse files Browse the repository at this point in the history
  • Loading branch information
iberianpig committed Jul 2, 2024
1 parent 90897e6 commit 305f1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fusuma/plugin/events/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def initialize(tag:, record:, time: Time.now)
Records::TextRecord.new(record)
else
raise ArgumentError,
"@record should be String or Record"
"@record should be String or Record: #{record.class}, #{record}"
end
end

Expand Down

0 comments on commit 305f1d2

Please sign in to comment.