You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sidekiq::Client#normalize_item runs several validations on the job payload and raises an error if the job format is incorrect but it does not show the incorrect job payload so the developer does not have the context necessary to quickly narrow down the source of the error. Example:
raise(ArgumentError,"Job must be a Hash with 'class' and 'args' keys: { 'class' => SomeWorker, 'args' => ['bob', 1, :foo => 'bar'] }")unlessitem.is_a?(Hash) ...
Does not actually include item in the error message...
The text was updated successfully, but these errors were encountered:
Sidekiq::Client#normalize_item runs several validations on the job payload and raises an error if the job format is incorrect but it does not show the incorrect job payload so the developer does not have the context necessary to quickly narrow down the source of the error. Example:
Does not actually include item in the error message...
The text was updated successfully, but these errors were encountered: