Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ef7fa56

Browse files
committed
fix lint warning
1 parent 4bfcebc commit ef7fa56

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎lib/vips/object.rb‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,8 @@ class Progress < FFI::Struct
110110

111111
MARSHAL_FINISH = proc do |handler|
112112
FFI::Function.new(:void, [:pointer, :pointer]) do |i, cb|
113-
begin
114-
handler.call
115-
rescue Exception => e
116-
puts "finish: #{e}"
117-
end
113+
# this can't throw an exception, so no catch is necessary
114+
handler.call
118115
end
119116
end
120117

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /