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