From 2f9daa849808f8a3caac22ca204a93396259f7c1 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 6 Apr 2022 14:12:41 -0700 Subject: [PATCH] Include value in error message when mappers not found --- plugins/commands/serve/mappers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/commands/serve/mappers.rb b/plugins/commands/serve/mappers.rb index f7b1ccd18..d74bbe32e 100644 --- a/plugins/commands/serve/mappers.rb +++ b/plugins/commands/serve/mappers.rb @@ -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}" }