Made "missing attribute" message more informative.

This commit is contained in:
Patrick J Cherry
2012-06-11 10:38:29 +01:00
parent 888f9f5156
commit 3184759135

View File

@@ -187,7 +187,7 @@ module Netlink
warn "Duplicate attribute #{name} (#{code}): #{attrs[name].inspect} -> #{val.inspect}" if attrs[name]
attrs[name] = val
else
warn "Unknown attribute #{code}, value #{val.inspect}"
warn "Unknown attribute #{code}, in class #{self}, value #{val.inspect}"
attrs[code] = val
end
end