``except Exception as e`` so it's Python 3 compatible