Skip to content
Snippets Groups Projects
Commit 249a3f14 authored by Jack Nagel's avatar Jack Nagel
Browse files

Print inspected values in dependency collector errors

parent ce4b6218
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ class DependencyCollector
when Class
parse_class_spec(spec, tags)
else
raise TypeError, "Unsupported type #{spec.class} for #{spec}"
raise TypeError, "Unsupported type #{spec.class} for #{spec.inspect}"
end
end
......@@ -103,7 +103,7 @@ class DependencyCollector
# Tiger's ld is too old to properly link some software
when :ld64 then LD64Dependency.new if MacOS.version < :leopard
else
raise "Unsupported special dependency #{spec}"
raise "Unsupported special dependency #{spec.inspect}"
end
end
......@@ -111,7 +111,7 @@ class DependencyCollector
if spec < Requirement
spec.new(tags)
else
raise TypeError, "#{spec} is not a Requirement subclass"
raise TypeError, "#{spec.inspect} is not a Requirement subclass"
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment