From: elijah Date: Wed, 13 Mar 2013 09:10:31 +0000 (-0700) Subject: puppet log: added more error matches X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c4fdb110fc49aab903c22b0eb8cedfebb476c2da;p=leap%2Fleap_cli.git puppet log: added more error matches --- diff --git a/lib/leap_cli/logger.rb b/lib/leap_cli/logger.rb index 373af35..58aa3c0 100644 --- a/lib/leap_cli/logger.rb +++ b/lib/leap_cli/logger.rb @@ -126,7 +126,9 @@ module LeapCli { :match => /^err:/, :level => 0, :color => :red, :priority => -1, :exit => 1}, { :match => /^Failed to parse template/, :level => 0, :color => :red, :priority => -1, :exit => 1}, { :match => /^Parameter matches failed:/, :level => 0, :color => :red, :priority => -1, :exit => 1}, - { :match => /^Syntax error/, :level => 0, :color => :red, :priority => -1, :exit => 1} + { :match => /^Syntax error/, :level => 0, :color => :red, :priority => -1, :exit => 1}, + { :match => /^Cannot reassign variable/, :level => 0, :color => :red, :priority => -1, :exit => 1}, + { :match => /^Could not find template/, :level => 0, :color => :red, :priority => -1, :exit => 1} ] def self.sorted_formatters