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

Enable callstack in 400 response, if STRIPE_LOG=debug #156

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lowlyocean
Copy link
Contributor

Resolves #155

@adrienverge
Copy link
Owner

Thanks for the proposal.
I don't see the usefulness of such an addition, that would moreover leak information about the host system + Python paths. I believe it was useful for you when you debugged #151? But won't be useful for localstripe users when they use the server.
What do you think?

@lowlyocean
Copy link
Contributor Author

Yes I was thinking about the potential to leak, it's a valid concern. However the approach here is to require an environment variable to be purposefully enabled in to activate the behavior. My use case is a Gitlab CI pipeline which spawns localstripe as a Docker container, and then my existing end-to-end tests are run against it. It's quite helpful in the CI logs to see why Stripe requests failed.

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.

Lack of debugging in case localstripe runs remotely
2 participants