fixed exception management in python mules and improved uwsgidecorators