If the WSGI application fails to start, wsgi_application() returns None
Description of problem:
If the WSGI application fails to start for any reason, our wsgi_application() function returns None. This is not helpful for debugging, especially if the problem is that logging isn't working correctly. It should raise an informative Exception when this happens instead. Currently, it will print an uninformative error message in /var/log/httpd/ssl_error_log.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Edit the wsgi_application() function to raise an Exception in the try: block with an error message. Perhaps something like raise Exception("Oh no!")
2. Look at httpd's ssl_error_log.
You will see something like  in the error log.
You should see something useful (like "Oh no!") in the error log.
 TypeError: 'NoneType' object is not callable and mod_wsgi (pid=25056): Exception occurred processing WSGI script '/srv/pulp/webservices.wsgi'.
+ This bug was cloned from Bugzilla Bug #1177018 +