examples/accepts_and_methods.rb in mudbug-0.4.7.3 vs examples/accepts_and_methods.rb in mudbug-0.5.0.1
- old
+ new
@@ -18,10 +18,14 @@
accepts.each { |acp|
mb.accept(acp)
puts "GET #{url} [#{acp}]"
- mb.get path
+ begin
+ mb.get path
+ rescue RuntimeError => e
+ puts "#{e} (#{e.class})"
+ end
}
puts
}
puts