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

fix(client): make get_client raise instead of logging #4181

Merged
merged 1 commit into from
Sep 16, 2023

Conversation

sauyon
Copy link
Contributor

@sauyon sauyon commented Sep 13, 2023

This fixes a questionable choice of mine, where getting a client when a server was not running would return None and warn instead of raising an exception. This is now fixed.

I also have replaced instances of deprecation warnings with warnings.warn, which I believe is idiomatic.

@sauyon sauyon requested a review from a team as a code owner September 13, 2023 23:48
@sauyon sauyon requested review from larme and removed request for a team September 13, 2023 23:48
@sauyon sauyon mentioned this pull request Sep 14, 2023
@aarnphm aarnphm merged commit f294661 into bentoml:main Sep 16, 2023
42 of 44 checks passed
@aarnphm aarnphm deleted the remove-server-logging branch September 16, 2023 22:13
@aarnphm aarnphm mentioned this pull request Oct 12, 2023
5 tasks
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.

2 participants