vendored/puppet/lib/puppet/context.rb in bolt-0.20.3 vs vendored/puppet/lib/puppet/context.rb in bolt-0.20.5

- old
+ new

@@ -50,10 +50,10 @@ value = @table[name] value.is_a?(Proc) ? (@table[name] = value.call) : value elsif block block.call else - raise UndefinedBindingError, _("no '%{name}' in %{table} at top of %{stack}") % { name: name, table: @table.inspect, stack: @stack.inspect } + raise UndefinedBindingError, _("Unable to lookup '%{name}'") % { name: name } end end # @api private def override(bindings, description = "", &block)