mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
fix unused variable warning in LoadError rescue
This commit is contained in:
parent
b934db8e77
commit
5319f88dc2
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class HTTP::CookieJar
|
|||
end
|
||||
begin
|
||||
require file
|
||||
rescue LoadError => e
|
||||
rescue LoadError
|
||||
raise NameError, 'can\'t resolve constant %s; failed to load %s' % [name, file]
|
||||
end
|
||||
if const_defined?(name)
|
||||
|
|
|
|||
Loading…
Reference in a new issue