Include value in error message when mappers not found
This commit is contained in:
parent
61b5d3549f
commit
2f9daa8498
@ -377,7 +377,7 @@ module VagrantPlugins
|
||||
end
|
||||
if m.empty?
|
||||
raise ArgumentError,
|
||||
"FuncSpec value of type `#{v.class}' has no valid mappers"
|
||||
"FuncSpec value of type `#{v.class}' has no valid mappers (#{v})"
|
||||
end
|
||||
result = m.first.call(v)
|
||||
logger.trace { "converted funcspec argument #{v} -> #{result}" }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user