Suggest better error message on on_error
, if action does not exist.
#116
Labels
enhancement
New feature or request
on_error
, if action does not exist.
#116
Problem
In oban resource, While setting up triggers with on_error function, if the action (update or destroy ) does not exist, getting this error:
key :transaction? not found in: nil
.This error message is hard to debug the issue, since neither trigger nor oban accept
transaction?
as key.Here are the total details:
The compilation error:
Thanks to @zachdaniel, for helping me out.
The text was updated successfully, but these errors were encountered: