From 305f1d2ac64fb5da605b521df5caf90b9bcf9556 Mon Sep 17 00:00:00 2001 From: iberianpig Date: Tue, 2 Jul 2024 22:30:00 +0900 Subject: [PATCH] chore: print record class without String or Record --- lib/fusuma/plugin/events/event.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fusuma/plugin/events/event.rb b/lib/fusuma/plugin/events/event.rb index 0b85f4c..a70aab2 100644 --- a/lib/fusuma/plugin/events/event.rb +++ b/lib/fusuma/plugin/events/event.rb @@ -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