Skip to content

[gardening]print warning only if URLSessionDebug is set #903

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

Merged
merged 1 commit into from
Mar 6, 2017

Conversation

pushkarnk
Copy link
Member

@pushkarnk pushkarnk commented Mar 3, 2017

There is only one place in URLSession where we are printing a warning message during normal execution. We've had a user complain about this message creating a lot of noise. I'm moving this warning message under the control of the URLSessionDebug env variable.

@pushkarnk
Copy link
Member Author

@swift-ci please test

@ianpartridge
Copy link
Contributor

Can you correct the typo too? dispotion isn't a word 😀

@pushkarnk
Copy link
Member Author

Thanks for pointing it out @ianpartridge !

@pushkarnk
Copy link
Member Author

@swift-ci please test and merge

@swift-ci swift-ci merged commit fc9b635 into swiftlang:master Mar 6, 2017
@ianpartridge
Copy link
Contributor

@pushkarnk can we cherry-pick for Swift 3.1? The unwanted print() is annoying.

pushkarnk pushed a commit to pushkarnk/swift-corelibs-foundation that referenced this pull request Mar 7, 2017
@pushkarnk
Copy link
Member Author

@ianpartridge Done. #910

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.

3 participants