aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/log.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-05-13 01:52:58 -0700
committerelijah <elijah@riseup.net>2014-05-13 01:52:58 -0700
commit8beaa3bd0a7c8b38ef7f97c245ddc7f021c16dd9 (patch)
tree87981a7558e272ea176fe45149f6e24cbf7af9b5 /lib/leap_cli/log.rb
parent53390d13f1a4da8aed0c4fb70240b9f487120930 (diff)
downloadleap_cli-8beaa3bd0a7c8b38ef7f97c245ddc7f021c16dd9.tar.gz
leap_cli-8beaa3bd0a7c8b38ef7f97c245ddc7f021c16dd9.tar.bz2
bail `node init` on bad `apt-get update` (closes #3849)
Diffstat (limited to 'lib/leap_cli/log.rb')
-rw-r--r--lib/leap_cli/log.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/leap_cli/log.rb b/lib/leap_cli/log.rb
index 69e9f67..f496b9a 100644
--- a/lib/leap_cli/log.rb
+++ b/lib/leap_cli/log.rb
@@ -80,6 +80,7 @@ module LeapCli
if title
prefix_options = case title
when :error then ['error', :red, :bold]
+ when :fatal_error then ['fatal error', :red, :bold]
when :warning then ['warning:', :yellow, :bold]
when :info then ['info', :cyan, :bold]
when :updated then ['updated', :cyan, :bold]