Skip to content

Commit 051c09c

Browse files
committed
Autofix "Style/RescueStandardError" for setup.rb
1 parent 8317197 commit 051c09c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/datadog/profiling/tasks/setup.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def setup_at_fork_hooks
3131
begin
3232
# Restart profiler, if enabled
3333
Profiling.start_if_enabled
34-
rescue StandardError => e
34+
rescue => e
3535
Datadog.logger.warn do
3636
"Error during post-fork hooks. Cause: #{e.class.name} #{e.message} " \
3737
"Location: #{Array(e.backtrace).first}"

0 commit comments

Comments
 (0)