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

Don't log work fetching failure at error. #313

Merged

Conversation

tachyonics
Copy link
Contributor

Don't log work fetching failure at error.

Motivation:

Code executed at this point may not actually represent an error (such as in the case of HTTPClient.Errors.cancelled) and each failure will also be logged at error or info appropriately here.

Modifications:

Change the level of this log event from error to debug.

Result:

A lambda runtime will not emit a log at level error whenever shutting down.

@tomerd tomerd merged commit 0fbd844 into swift-server:main Dec 8, 2023
7 of 8 checks passed
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.

None yet

3 participants