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
When deserializing a job off of beanstalk via Job.deserialize, assert the correct keys exist in the JSON job, args, ttr, ... exist and that no other, invalid keys exist.
If the JSON looks funky, raise an invalid job JSON exception.
Also, consider a better method for Support#constantize that will raise an exception of the object can't be found for better error messaging.
The text was updated successfully, but these errors were encountered:
bradgessler
changed the title
Validate JSON reserved from beanstalk is well-formed job JSON
Validate JSON reserved from beanstalk is well-formed
May 11, 2015
When deserializing a job off of beanstalk via
Job.deserialize
, assert the correct keys exist in the JSONjob, args, ttr, ...
exist and that no other, invalid keys exist.If the JSON looks funky, raise an invalid job JSON exception.
Also, consider a better method for
Support#constantize
that will raise an exception of the object can't be found for better error messaging.The text was updated successfully, but these errors were encountered: