mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/fiddle] Remove needless rescue
GitHub: fix GH-15 Reported by Eneroth3. Thanks!!! https://github.com/ruby/fiddle/commit/f3d70b81ec
This commit is contained in:
parent
aff5eaced4
commit
1867088d90
Notes:
git
2020-11-18 09:05:46 +09:00
1 changed files with 1 additions and 5 deletions
|
@ -83,11 +83,7 @@ module Fiddle
|
|||
when Importer
|
||||
lib.handlers
|
||||
else
|
||||
begin
|
||||
Fiddle.dlopen(lib)
|
||||
rescue DLError
|
||||
raise(DLError, "can't load #{lib}")
|
||||
end
|
||||
Fiddle.dlopen(lib)
|
||||
end
|
||||
}.flatten()
|
||||
@handler = CompositeHandler.new(handles)
|
||||
|
|
Loading…
Add table
Reference in a new issue