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

Rollbar context_error message is empty when order fails due to card_declined Stripe error #3482

Open
rbarreca opened this issue Oct 23, 2018 · 0 comments

Comments

@rbarreca
Copy link
Contributor

rbarreca commented Oct 23, 2018

Describe the bug
When we get a Rollbar warning 'Order could not be completed' the context_error has been nil for all reports. It appears @placed_order.context[:error] doesn't contain all the error details. Might we need to reference @placed_order.context[:order].errors?

Steps to Reproduce

  1. Turn on Rollbar in local dev
  2. Simulate a card declined error https://stripe.com/docs/testing#cards-responses
  3. Rollbar error has a nil context_error

Expected Result
Rollbar shows a useful context_error message like "Your card was declined."

Reference

@rbarreca rbarreca added this to To do in Project Board via automation Oct 23, 2018
@rbarreca rbarreca added this to Icebox in Product Backlog via automation Oct 23, 2018
@rbarreca rbarreca removed this from To do in Project Board Oct 23, 2018
@rbarreca rbarreca moved this from Icebox to Groomed product backlog in Product Backlog Oct 23, 2018
@rbarreca rbarreca changed the title context_error is nil when 'Order could not be completed' context_error is nil when order fails due to card_declined Stripe error Oct 23, 2018
@rbarreca rbarreca changed the title context_error is nil when order fails due to card_declined Stripe error Rollbar context_error message is empty when order fails due to card_declined Stripe error Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Product Backlog
  
Groomed product backlog
Development

No branches or pull requests

1 participant