Skip to content

Improve error handling in web server#185

Open
12ya wants to merge 2 commits intoRedHatOfficial:masterfrom
12ya:12ya-patches_3
Open

Improve error handling in web server#185
12ya wants to merge 2 commits intoRedHatOfficial:masterfrom
12ya:12ya-patches_3

Conversation

@12ya
Copy link

@12ya 12ya commented Sep 4, 2025

Added logging for server startup errors and ensured request body is closed after handling. This enhances resource management and provides better diagnostics if the server fails to start.

12ya added 2 commits September 4, 2025 22:06
Added logging for server startup errors and ensured request body is closed after handling. This enhances resource management and provides better diagnostics if the server fails to start.
Added error handling for ListenAndServe in proxy and web server files to log fatal errors. Ensured HTTP request bodies are closed after use in client and server handlers to prevent resource leaks.
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.

1 participant

Comments