Skip to content

Commit 2b4f63d

Browse files
committed
add error class
1 parent 64be426 commit 2b4f63d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/hooks/app/helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def load_handler(handler_class_name)
8787
begin
8888
handler_class = Core::PluginLoader.get_handler_plugin(handler_class_name)
8989
return handler_class.new
90-
rescue => e
90+
rescue StandardError => e
9191
error!("failed to get handler '#{handler_class_name}': #{e.message}", 500)
9292
end
9393
end

0 commit comments

Comments
 (0)