I noticed that exceptions raised within .on() blocks are mysterious ignored, and not even logged. This makes debugging errors within other code that's called within .on() blocks very difficult.
Example Code
require 'ferrum'
browser = Ferrum::Browser.new
browser.network.intercept
browser.on(:request) do
raise("error!")
end
browser.go_to('https://example.com')
sleep
I noticed that exceptions raised within
.on()
blocks are mysterious ignored, and not even logged. This makes debugging errors within other code that's called within.on()
blocks very difficult.Example Code
Expected Result
An uncaught exception being raised.
Actual Result
Nothing
Version Information