chore: remove /sentry-debug endpoint after verification
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -252,12 +252,6 @@ async def health_check():
|
||||
return {"status": "healthy"}
|
||||
|
||||
|
||||
@app.get("/sentry-debug")
|
||||
async def trigger_error():
|
||||
"""Sentry verification endpoint — triggers a test error."""
|
||||
division_by_zero = 1 / 0
|
||||
|
||||
|
||||
if settings.DEBUG:
|
||||
@app.get("/debug/cors")
|
||||
async def debug_cors():
|
||||
|
||||
Reference in New Issue
Block a user