braintree / braintree_python

Braintree Python library
https://developer.paypal.com/braintree/docs/start/overview
MIT License
242 stars 115 forks source link

Show id in subscription.cancel NotFoundError #59

Closed iartarisi closed 9 years ago

iartarisi commented 9 years ago

Raise an NotFoundError exception with a message which includes the subscription id when the subscription was not found.

The message matches the one already used for the find method.

jdlc commented 9 years ago

@mapleoin Thanks for your work on this. We're going to discuss adding this to a future major release of the library. We can't release it now because of the effect on existing integrations, so I'm closing this branch.