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
|
if browser
|
||||||
CookieExtractor.const_get("#{browser}CookieExtractor").new(db_filename)
|
CookieExtractor.const_get("#{browser}CookieExtractor").new(db_filename)
|
||||||
else
|
else
|
||||||
raise "Could not detect browser type."
|
raise BrowserNotDetectedException, "Could not detect browser type."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue