diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py
index 7638937..b2c4f46 100644
a
|
b
|
def get_commands():
|
107 | 107 | from django.conf import settings |
108 | 108 | try: |
109 | 109 | apps = settings.INSTALLED_APPS |
110 | | except ImproperlyConfigured: |
| 110 | except ImproperlyConfigured as e: |
111 | 111 | # Still useful for commands that do not require functional settings, |
112 | 112 | # like startproject or help |
113 | 113 | apps = [] |
| 114 | sys.stderr.write(color_style().ERROR( |
| 115 | "Project settings contain errors (%s)\n" |
| 116 | "Only core Django commands will be available.\n" % e)) |
114 | 117 | |
115 | 118 | # Find and load the management module for each installed app. |
116 | 119 | for app_name in apps: |