lib/indocker/context_args.rb in indocker-0.1.3 vs lib/indocker/context_args.rb in indocker-0.1.4

- old
+ new

@@ -12,12 +12,11 @@ if args.size > 0 raise ArgumentError.new("context args does not accept any arguments") end value = @context_args.fetch(name) do - Indocker.logger.error("build arg '#{format_arg(name)}' is not defined#{@container ? " for container :#{@container.name}" : ""}") - Indocker.logger.error("available args: #{@context_args.inspect}") - exit 1 + Indocker.logger.warn("build arg '#{format_arg(name)}' is not defined#{@container ? " for container :#{@container.name}" : ""}") + Indocker.logger.warn("available args: #{@context_args.inspect}") end if value.is_a?(Hash) Indocker::ContextArgs.new(name, value, self, @container) else \ No newline at end of file