lib/rundock/plugin/operation/deploy.rb in rundock-1.0.6 vs lib/rundock/plugin/operation/deploy.rb in rundock-1.0.7
- old
+ new
@@ -93,10 +93,10 @@
begin
ERB.new(srcfile, nil, trim_mode).tap do |erb|
erb.filename = src
end.result(OpenStruct.new(mapping).instance_eval { binding })
- rescue => ex
+ rescue StandardError => ex
Logger.error("ERB Error: #{ex.message}")
end
end
def extract_map(backend, binding)