Project

General

Profile

« Previous | Next » 

Revision fcc0d38b

Added by Ohad Levy over 12 years ago

  • ID fcc0d38bc89a9a3d6d372469bbc3a697e3b787f1

fixes #1149 - add backtrace to log failures

View differences:

lib/dns_api.rb
setup({:fqdn => fqdn, :value => value, :type => type})
@server.create
rescue Proxy::DNS::Collision => e
log_halt 409, e.to_s
log_halt 409, e
rescue Exception => e
log_halt 400, e.to_s
log_halt 400, e
end
end
......
setup({:fqdn => fqdn, :value => value, :type => type})
@server.remove
rescue => e
log_halt 400, e.to_s
log_halt 400, e
end
end
end

Also available in: Unified diff