From c8d8879153c258cf30ae63ac4aa3d7bc4676551b Mon Sep 17 00:00:00 2001 From: Jeff Dallien Date: Wed, 22 Feb 2012 19:35:52 -0500 Subject: [PATCH] Need to actually raise custom exception class --- lib/cookie_extractor/browser_detector.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cookie_extractor/browser_detector.rb b/lib/cookie_extractor/browser_detector.rb index dcf9468..b64dfd9 100644 --- a/lib/cookie_extractor/browser_detector.rb +++ b/lib/cookie_extractor/browser_detector.rb @@ -8,7 +8,7 @@ module CookieExtractor if browser CookieExtractor.const_get("#{browser}CookieExtractor").new(db_filename) else - raise "Could not detect browser type." + raise BrowserNotDetectedException, "Could not detect browser type." end end