Search code examples
pythondebuggingexceptionuwsgipretty-print

How to get uWSGI Python exception message pretty printing?


Would like to know if there is a simple, easy way to have uWSGI pretty print exception messages (for Python specifically, not sure if the settings are particular to Python or not).

Thanks very much!


Solution

  • If you mean getting the exception message in the browser, just add --catch-exceptions

    IMPORTANT: it could expose sensitive informations, do not use in production !!!