summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-03-13 02:10:31 -0700
committerelijah <elijah@riseup.net>2013-03-13 02:10:31 -0700
commitc4fdb110fc49aab903c22b0eb8cedfebb476c2da (patch)
tree9494cd529943d24fdec16ac83022a181a9d7c80c
parent6180fb7593215ae9c8d300c4428aefa91962e14a (diff)
puppet log: added more error matches
-rw-r--r--lib/leap_cli/logger.rb4
1 files changed, 3 insertions, 1 deletions
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