Skip to content

Commit

Permalink
fix(python): job getReturnValue not returning returnvalue (#2143)
Browse files Browse the repository at this point in the history
  • Loading branch information
saulane committed Aug 19, 2023
1 parent 3ef3066 commit dcb8e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/bullmq/job.py
Expand Up @@ -226,6 +226,6 @@ def optsFromJSON(rawOpts: dict) -> dict:

def getReturnValue(value: Any):
try:
json.loads(value)
return json.loads(value)
except Exception as err:
return value

0 comments on commit dcb8e6a

Please sign in to comment.