wasp / eureka

Async Eureka Client (Netflix OSS, Spring Cloud Service Discovery)
Apache License 2.0
19 stars 8 forks source link

Clean up debug messages on boot #8

Open mattrasband opened 7 years ago

mattrasband commented 7 years ago

On boot, the client session prints some errors because we create the client outside a coroutine:

Creating a client session outside of coroutine
client_session: <aiohttp.client.ClientSession object at 0x100e76860>

These should be cleaned up to not spam users with unnecessary info.

alexpnt commented 6 years ago

Actually, this is not the recommended way of creating ClientSession . That's why this warning is appearing.

I submitted a fix here: https://github.com/wasp/eureka/pull/12