Skip to content
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

TypeError in MandateJob@default #7162

Open
iHiD opened this issue Nov 21, 2024 · 0 comments
Open

TypeError in MandateJob@default #7162

iHiD opened this issue Nov 21, 2024 · 0 comments

Comments

@iHiD
Copy link
Member

iHiD commented Nov 21, 2024

Error in v3

TypeError in MandateJob@default
nil can't be coerced into Float

((COMPLETE_PRICE - @complete_price) / COMPLETE_PRICE * 100).round
                   ^^^^^^^^^^^^^^^

View on Bugsnag

Stacktrace

app/models/user/bootcamp_data.rb:70 - -
app/models/user/bootcamp_data.rb:70 - discount_percentage
app/commands/user/bootcamp/subscribe_to_onboarding_emails.rb:31 - add_subscriber!
app/commands/user/bootcamp/subscribe_to_onboarding_emails.rb:14 - call
config/initializers/mandate.rb:39 - perform

View full stacktrace

Created automatically via Bugsnag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant