Does Oban log when `perform` doesn't match on args?

I’m starting a job and I used the string key syntax %{"key" => 1} when making a map. All of the examples in the Oban docs use the atom key syntax shorthand %{key: 1}. Would Oban have logged that the perform function failed to match on arguments or will it silently ignore the issue?

Why dont you just test it yourself? :slight_smile:
(I do not know the answer)

Oban records that as an error and stores it in the errors array. You can enable logging as well via telemetry with Telemetry.attach_default_logger

3 Likes

I am developing a job and not seeing any logging, so I should have stated, how do I find this error if it is occurring

1 Like