Skip to content

Conversation

@glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Dec 11, 2019

Motivation:

When errors are logged it's useful to have some contextual information.
We can enable this by injecting a logger into the error delegate.

Modifications:

Change the API for the ClientErrorDelegate to also pass in a logger.
Remove additional logging from next to the call to the delegate.

Result:

Users can log errors with more contextual information in the delegate.

Motivation:

When errors are logged it's useful to have some contextual information.
We can enable this by injecting a `logger` into the error delegate.

Modifications:

Change the API for the `ClientErrorDelegate` to also pass in a logger.
Remove additional logging from next to the call to the delegate.

Result:

Users can log errors with more contextual information in the delegate.
@glbrntt glbrntt requested a review from MrMage December 11, 2019 12:06
@glbrntt glbrntt merged commit 58762ba into grpc:nio Dec 11, 2019
@glbrntt glbrntt deleted the gb-client-delegate branch December 11, 2019 16:11
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