orion / freeipa

Forked from freeipa 5 years ago
Clone

ccaf537 Handle errors raised by plugins more gracefully in mod_wsgi.

Authored and Committed by rcritten 13 years ago
    Handle errors raised by plugins more gracefully in mod_wsgi.
    
    This started as an effort to display a more useful error message in the
    Apache error log if retrieving the schema failed. I broadened the scope
    a little to include limiting the output in the Apache error log
    so errors are easier to find.
    
    This adds a new configuration option, startup_traceback. Outside of
    lite-server.py it is False by default so does not display the traceback
    that lead to the StandardError being raised. This makes the mod_wsgi
    error much easier to follow.
    
        
file modified
+10 -6
file modified
+1 -0
file modified
+3 -2
file modified
+4 -1
file modified
+17 -13
file modified
+1 -0