Skip to content

[Security] Error leakage in admin.py + no global exception handler#2884

Open
sanrishi wants to merge 1 commit into
ritesh-1918:gssocfrom
sanrishi:fix/centralized-exception-handler
Open

[Security] Error leakage in admin.py + no global exception handler#2884
sanrishi wants to merge 1 commit into
ritesh-1918:gssocfrom
sanrishi:fix/centralized-exception-handler

Conversation

@sanrishi

Copy link
Copy Markdown

Adds global exception handler to main.py. Replaces bare except:pass in admin.py with proper logging and HTTPException raises. Fixes #2871

- Add global Exception handler to main.py returning generic 500 JSON
- Replace bare except:pass with proper logging in admin.py endpoints
- Replace silent return []/{}/True with proper HTTPException raises
- All admin endpoints now log errors instead of swallowing them

Fixes ritesh-1918#2871
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the ritesh Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Jun 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b06c8e82-d284-4c86-8e7b-1ffd2b56057c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

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