aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/logger.rb
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 /lib/leap_cli/logger.rb
parent6180fb7593215ae9c8d300c4428aefa91962e14a (diff)
downloadleap_cli-c4fdb110fc49aab903c22b0eb8cedfebb476c2da.tar.gz
leap_cli-c4fdb110fc49aab903c22b0eb8cedfebb476c2da.tar.bz2
puppet log: added more error matches
Diffstat (limited to 'lib/leap_cli/logger.rb')
-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