Add special exception marker to logs