#36422: Settings exception hidden when running management command
-------------------------------------+-------------------------------------
     Reporter:  Lily Acorn           |                    Owner:  (none)
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Core (Management     |                  Version:  5.1
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

 * type:  Uncategorized => Cleanup/optimization

Comment:

 > If this fails with an ImproperlyConfigured or an ImportError exception
 ... the exception is completely swallowed.

 The PR for ticket:32915 avoids catching `ImportError`, but makes no
 changes to `ImproperlyConfigured`, so we may choose to treat this as a
 dupe and leave feedback on ticket:32915 to treat both the same way
 (introspect whether `ImproperlyConfigured` emanated from a settings module
 before deciding to swallow it).
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36422#comment:1>
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 visit 
https://groups.google.com/d/msgid/django-updates/010701971744e974-ad8c30bb-ec8f-4dad-a698-2e6fe404d44e-000000%40eu-central-1.amazonses.com.

Reply via email to