sorentwo/oban

Oban.Pro.Worker Hook Docs

Closed this issue · 1 comments

nbw commented

Small typo, but since Pro isn't a public repo I'm logging it here.

The line:

extra = Map.take([:attempt, :id, :args, :max_attempts, :meta, :queue, :worker])

Should be:

extra = Map.take(job, [:attempt, :id, :args, :max_attempts, :meta, :queue, :worker])

Thanks for the report. This is fixed in current versions of the docs—there's a lot of new features and improvements since v0.12.9 🙂