]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
minor fix to exception catching
authorelijah <elijah@riseup.net>
Thu, 15 Nov 2012 09:18:47 +0000 (01:18 -0800)
committerelijah <elijah@riseup.net>
Thu, 15 Nov 2012 09:18:47 +0000 (01:18 -0800)
lib/leap_cli/config/object.rb

index ef2817996e3aba40c5adf08323b0d667cd902bf9..de3c2c7480cd8e693d153d221b84353b38abce28 100644 (file)
@@ -289,7 +289,7 @@ module LeapCli
                   log "error message: no file '#{exc}'", :indent => 1
                 end
               end
-            rescue StandardError => exc
+            rescue SyntaxError, StandardError => exc
               Util::bail! do
                 log :error, "while evaluating node '#{@node.name}'"
                 log "offending string: #{$1}", :indent => 1