summaryrefslogtreecommitdiff
path: root/config/initializers/rspec_profiling.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/rspec_profiling.rb')
-rw-r--r--config/initializers/rspec_profiling.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/rspec_profiling.rb b/config/initializers/rspec_profiling.rb
index 9f29e48a63e..eb0e239c18c 100644
--- a/config/initializers/rspec_profiling.rb
+++ b/config/initializers/rspec_profiling.rb
@@ -46,7 +46,7 @@ module RspecProfilingExt
rescue => err
return if @already_logged_example_finished_error # rubocop:disable Gitlab/ModuleWithInstanceVariables
- $stderr.puts "rspec_profiling couldn't collect an example: #{err}. Further warnings suppressed."
+ warn "rspec_profiling couldn't collect an example: #{err}. Further warnings suppressed."
@already_logged_example_finished_error = true # rubocop:disable Gitlab/ModuleWithInstanceVariables
end