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

Improve deprecation message for 'deprecated_method_type_override' #2494

Merged

Conversation

jordan-brough
Copy link
Contributor

@jordan-brough jordan-brough commented Jan 9, 2018

Previously the stack trace line that the deprecation message would print was
the #partial_name method inside PaymentMethod itself, which isn't very
helpful.

Also, print out corresponding class name.

@jordan-brough jordan-brough force-pushed the improve-deprecation-message branch from 17073a7 to b719cc6 Compare January 9, 2018 15:50
@solidusio solidusio deleted a comment from houndci-bot Jan 9, 2018
Previously stack trace line that the deprecation message would print was
the `#partial_name` method inside PaymentMethod itself, which isn't very
helpful.

Also, print out corresponding class name.
@jordan-brough jordan-brough force-pushed the improve-deprecation-message branch from b719cc6 to 4b6ec70 Compare January 9, 2018 16:10
@jordan-brough jordan-brough changed the title Improve deprecation message Improve deprecation message for 'deprecated_method_type_override' Jan 9, 2018
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jordan-brough jordan-brough merged commit 40a56cd into solidusio:master Jan 10, 2018
@jordan-brough jordan-brough deleted the improve-deprecation-message branch January 10, 2018 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants