diff options
Diffstat (limited to 'config/initializers/rspec_profiling.rb')
-rw-r--r-- | config/initializers/rspec_profiling.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/rspec_profiling.rb b/config/initializers/rspec_profiling.rb index 2473dc1ff6c..1288fad8a94 100644 --- a/config/initializers/rspec_profiling.rb +++ b/config/initializers/rspec_profiling.rb @@ -43,7 +43,7 @@ module RspecProfilingExt module Run def example_finished(*args) super - rescue => err + rescue StandardError => err return if @already_logged_example_finished_error # rubocop:disable Gitlab/ModuleWithInstanceVariables warn "rspec_profiling couldn't collect an example: #{err}. Further warnings suppressed." |