-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoMethodError when removing a step from a campaign #225
Labels
bug
Something isn't working
Comments
@rathboma thanks for reporting. Do you think there were some active jobs for that step when the change that removed it was deployed? We should probably add a guard for that. 🤔 |
FYI, I've started on this but I'm still deciding the best way to handle it. |
Yes, there could have been some active jobs that were not picked up properly after the restart. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I removed a step from a campaign, but now I get the following error in the background cron job:
NoMethodError: undefined method `action' for nil:NilClass
It's happening at this line:
heya//lib/heya/campaigns/step_action_job.rb
Line 11 in f472417
step
is nil, so this fails.The text was updated successfully, but these errors were encountered: