Need to actually raise custom exception class

This commit is contained in:
Jeff Dallien 2012-02-22 19:35:52 -05:00
parent 58775f8e06
commit c8d8879153

View file

@ -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