#35098: ValidationError is being converted into a 500 Internal Server Error response -----------------------------------+-------------------------------------- Reporter: Yawar Quadir Amin | Owner: (none) Type: Bug | Status: closed Component: Error reporting | Version: 5.0 Severity: Normal | Resolution: invalid Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -----------------------------------+--------------------------------------
Comment (by Natalia Bidart): Replying to [comment:6 Yawar Quadir Amin]: > Hi, I am not interested in getting support. I can handle the error perfectly fine on my end. I am reporting what seems like an obvious bug with an easy fix. You're not interested, that's fine. I am good either way. We define support as understanding how Django operates and the expected patterns for use in your Django app. Numerous tutorials and documentation resources are available to guide you in encapsulating your app's business logic into specific modules and forms. It's important to note that failing to handle a `ValidationError` in your code will result in a 500 response, which is a standard behavior in Django and not a bug. -- Ticket URL: <https://code.djangoproject.com/ticket/35098#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018cf00915ee-1fa3882d-cf70-4fcc-a3ba-da590ec147e7-000000%40eu-central-1.amazonses.com.