From 175382b74dca155a86726316fdf7d2565b73720a Mon Sep 17 00:00:00 2001 From: Marc Riera Date: Thu, 12 Dec 2024 12:53:51 +0100 Subject: [PATCH] Fix stacklevel too deep error (#29) --- lib/resource_registry/verb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/resource_registry/verb.rb b/lib/resource_registry/verb.rb index 1396715..7412d15 100644 --- a/lib/resource_registry/verb.rb +++ b/lib/resource_registry/verb.rb @@ -63,7 +63,7 @@ def dto dto_klass = dto_raw.safe_constantize if dto_klass.nil? - raise DtoClassNotFound, "DTO class #{dto} for verb #{id} not found" + raise DtoClassNotFound, "DTO class #{dto_raw} for verb #{id} not found" end dto_klass