> @@ -64,6 +51,36 @@ def local_host > "127.0.0.1" > end > > + # Error rescued by middleware. > + # > + # @return [Exception or NilClass] > + def error > + @middleware.error > + end > + > + # Check if exception catcher is enabled. > + # > + # @return [Boolean] true if exception catcher is and can be enabled, > false otherwise. > + def catch_exceptions > + @catch_exceptions = true if @catch_exceptions.nil?
I also don't like `.ignore_rails_exceptions` name because it turns out to be `Rails.ignore_rails_exceptions`. Maybe `.ignore_exceptions` or `.ignore_app_exceptions` will work better? --- Reply to this email directly or view it on GitHub: https://github.com/watir/watir-rails/pull/2/files#r4342796
_______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
