Catch any dotenv exceptions in wsgi