mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Raise an error instead of warning, #2149
This commit is contained in:
parent
a7ddb44abb
commit
abe31e20fe
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ module Sidekiq
|
|||
if msg
|
||||
deliver(msg)
|
||||
else
|
||||
logger.warn("#{target.name}##{method_name} returned an undeliverable mail object")
|
||||
raise "#{target.name}##{method_name} returned an undeliverable mail object"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue