Need to actually raise custom exception class
This commit is contained in:
parent
58775f8e06
commit
c8d8879153
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue