Remove list printing from exception