﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25523	manage.py runserver ignores logging configuration error and shows wrong exception	Andriy Sokolovskiy	nobody	"While trying to `manage.py runserver`, when `LOGGING` contains some error (e.g. log folder is missing, or `version` key is not included to logging configuration dict), runserver internals is catching actual exception and simply passing, and shows wrong error:


{{{
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
}}}

Here is a problem:

{{{

def setup():
    """"""
    Configure the settings (this happens as a side effect of accessing the
    first setting), configure logging and populate the app registry.
    """"""
    ...

    configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)  # <- exception from here is ignored
    apps.populate(settings.INSTALLED_APPS)  # <- this shows exception, but should show exception about logging
}}}

Tested on master and 1.8.
1.7 works as expected"	Bug	closed	Core (Management commands)	1.8	Normal	duplicate			Unreviewed	0	0	0	0	0	0
