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 #7163

Closed
iHiD opened this issue Nov 21, 2024 · 1 comment
Closed

TypeError in MandateJob@default #7163

iHiD opened this issue Nov 21, 2024 · 1 comment

Comments

@iHiD
Copy link
Member

iHiD commented Nov 21, 2024

Error in v3

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

  ((PART_1_PRICE - price) / PART_1_PRICE * 100).round
                   ^^^^^

View on Bugsnag

Stacktrace

app/models/user/bootcamp_data.rb:74 - -
app/models/user/bootcamp_data.rb:74 - 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

@iHiD iHiD closed this as completed Dec 5, 2024
@iHiD
Copy link
Member Author

iHiD commented Dec 5, 2024

An error linked to this issue has been marked as fixed in Bugsnag
TypeError in MandateJob@default

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