Skip to content

Commit f3d70b8

Browse files
committed
Remove needless rescue
GitHub: fix GH-15 Reported by Eneroth3. Thanks!!!
1 parent 73626bb commit f3d70b8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/fiddle/import.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,7 @@ def dlload(*libs)
8383
when Importer
8484
lib.handlers
8585
else
86-
begin
87-
Fiddle.dlopen(lib)
88-
rescue DLError
89-
raise(DLError, "can't load #{lib}")
90-
end
86+
Fiddle.dlopen(lib)
9187
end
9288
}.flatten()
9389
@handler = CompositeHandler.new(handles)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy