From 79c4bc5ffa6f347db8cfd484e9bfb419203c0ea4 Mon Sep 17 00:00:00 2001 From: nekketsuuu Date: Wed, 14 Jan 2026 12:34:21 +0900 Subject: [PATCH] fix: Remove use of @logger.warn This causes an error `private method 'warn' called for nil` Follow-up: 4c2bb113c6af2fd230bb716111010cb2aa389013 --- lib/rubydns/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rubydns/server.rb b/lib/rubydns/server.rb index 4c5d6af..e8ad88d 100644 --- a/lib/rubydns/server.rb +++ b/lib/rubydns/server.rb @@ -69,7 +69,7 @@ def process(name, resource_class, transaction) if @otherwise @otherwise.call(transaction) else - @logger.warn "<#{transaction.query.id}> Failed to handle #{name} #{resource_class.name}!" + Console.warn "<#{transaction.query.id}> Failed to handle #{name} #{resource_class.name}!" end end end