diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/config/object.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/config/object.rb b/lib/leap_cli/config/object.rb index ef28179..de3c2c7 100644 --- a/lib/leap_cli/config/object.rb +++ b/lib/leap_cli/config/object.rb @@ -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 |