mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Prefer warn over puts so these can be suppressed (#4879)
* Prefer warn over puts so these can be suppressed
* What's up(level): 1 dog
* Less ✨ output
This commit is contained in:
parent
53999adc2c
commit
3330df0ee3
1 changed files with 1 additions and 3 deletions
|
@ -338,7 +338,5 @@ module Sidekiq
|
|||
end
|
||||
|
||||
if defined?(::Rails) && Rails.respond_to?(:env) && !Rails.env.test? && !$TESTING
|
||||
puts("**************************************************")
|
||||
puts("⛔️ WARNING: Sidekiq testing API enabled, but this is not the test environment. Your jobs will not go to Redis.")
|
||||
puts("**************************************************")
|
||||
warn("⛔️ WARNING: Sidekiq testing API enabled, but this is not the test environment. Your jobs will not go to Redis.", uplevel: 1)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue