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

Add more logs to HTTP server #351 #424

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

foucsi
Copy link
Contributor

@foucsi foucsi commented Aug 18, 2024

  • Added logs to various endpoints to track incoming requests, responses, and errors.
  • Enhanced error handling with more detailed logs, including status codes.
  • Improved overall visibility into the HTTP server's behavior.

Note: This work is not yet complete. Further improvements and additional logging are still required to fully address the issue.

Refs: #351

- Added logs to track incoming requests, responses, and errors.
- Enhanced error logging to include status codes and messages.
- Improved visibility into the processing flow of various endpoints.

Refs: NodeSecure#351
Copy link

codecov bot commented Aug 19, 2024

Codecov Report

Attention: Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 89.97%. Comparing base (28ee6a9) to head (21b9558).
Report is 129 commits behind head on master.

Files Patch % Lines
src/http-server/endpoints/report.js 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##            master     #424       +/-   ##
============================================
- Coverage   100.00%   89.97%   -10.03%     
============================================
  Files           15       20        +5     
  Lines          649     1207      +558     
  Branches         0        1        +1     
============================================
+ Hits           649     1086      +437     
- Misses           0      121      +121     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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