Need to actually raise custom exception class

master
Jeff Dallien 2012-02-22 19:35:52 -05:00
parent 58775f8e06
commit c8d8879153
1 changed files with 1 additions and 1 deletions

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