Skip to content

fix: Recover panics in HTTPS request handler - #40

Open
VedantMadane wants to merge 1 commit into
hubfly-space:mainfrom
VedantMadane:fix/issue-14
Open

fix: Recover panics in HTTPS request handler#40
VedantMadane wants to merge 1 commit into
hubfly-space:mainfrom
VedantMadane:fix/issue-14

Conversation

@VedantMadane

Copy link
Copy Markdown

Summary

Recover panics in HTTPS request handler

Changes

  • Wrap HTTPS handler with recoveryMiddleware
  • Log recovered panics and return 500 instead of crashing the process

Fixes #14

- Wrap HTTPS handler with recoveryMiddleware
- Log recovered panics and return 500 instead of crashing the process

Fixes hubfly-space#14

Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f314eefb-33c0-4d52-b15f-be504a8aba7a


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

Add panic recovery middleware to HTTP server

1 participant