CyberSource / cybersource-rest-client-python

Python client library for the CyberSource REST API
Other
21 stars 36 forks source link

Raise an exception rather than calling sys.exit in library code #51

Closed cpennington closed 2 years ago

cpennington commented 4 years ago

Calling sys.exit inside library code (like this client library) is unexpected behavior in python development. It's better to raise an exception with the relevant error message.

gnongsie commented 2 years ago

Closing this as this concern has been addressed through a separate commit.